#1A236A#1A236A

#1A236A is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.0% C 0.123 H 271.2°. Best body text is #FFFFFF at 14.07:1 contrast (WCAG AA passes).

Color values

HEX#1A236A
RGBrgb(26, 35, 106)
HSLhsl(233, 61%, 26%)
HSVhsv(233, 75%, 42%)
CMYKcmyk(75.5%, 67%, 0%, 58.4%)
CIE-LABlab(17.75, 22.89, -42.56)
CIE-LCHlch(17.75, 48.33, 298.27°)
OKLaboklab(30% 0.0026 -0.1229)
OKLCHoklch(30% 0.123 271.2)
XYZxyz(3.6277, 2.4619, 13.9169)
Luminance0.0246 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A236A #6A611A
analogous
#1A4B6A #1A236A #391A6A
triadic
#1A236A #6A1A23 #236A1A
tetradic
#1A236A #6A1A4B #6A611A #1A6A39
square
#1A236A #6A1A4B #6A611A #1A6A39
split-complementary
#1A236A #6A391A #4B6A1A
monochromatic
#060819 #0E1339 #1A236A #26339B #3243CC

Accessibility & contrast

On white

14.07
#1A236A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#1A236A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A236A
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A236A#FFFFFF#000000##FFFFFF
##1A236A1.0014.071.4914.07
#FFFFFF14.071.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6C
Deuteranopia (green-blind)
#002869
Tritanopia (blue-blind)
#003543
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #1a236a;
/* rgb */ color: rgb(26, 35, 106);
/* oklch */ color: oklch(30.0% 0.123 271.2);
Tailwind
colors: {
  custom: {
    50: '#645d95',
    500: '#1a236a',
    950: '#000000',
  },
}
SCSS
$custom: #1a236a;
$custom-light: #645d95;
$custom-dark: #000000;
JSON
{
  "hex": "#1a236a",
  "rgb": {
    "r": 26,
    "g": 35,
    "b": 106
  },
  "hsl": {
    "h": 233.25,
    "s": 60.606,
    "l": 25.882
  },
  "oklch": {
    "l": 0.30003,
    "c": 0.12298,
    "h": 271.2
  },
  "luminance": 0.02462
}

Semantic roles & 50–950 ramp

primary
#1A236A
secondary
#9F9540
accent
#D244E4
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E

Preview Lab

Preview with #1A236A

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#1A236A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva