#1A336E#1A336E

#1A336E is a dark, moderate blue. Relative luminance 0.037; OKLCH L 33.8% C 0.107 H 264.2°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#1A336E
RGBrgb(26, 51, 110)
HSLhsl(222, 62%, 27%)
HSVhsv(222, 76%, 43%)
CMYKcmyk(76.4%, 53.6%, 0%, 56.9%)
CIE-LABlab(22.70, 13.05, -37.10)
CIE-LCHlch(22.70, 39.33, 289.37°)
OKLaboklab(33.82% -0.0109 -0.1067)
OKLCHoklch(33.82% 0.107 264.2)
XYZxyz(4.4233, 3.7126, 15.2323)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A336E #6E551A
analogous
#1A5D6E #1A336E #2B1A6E
triadic
#1A336E #6E1A33 #336E1A
tetradic
#1A336E #6E1A5D #6E551A #1A6E2B
square
#1A336E #6E1A5D #6E551A #1A6E2B
split-complementary
#1A336E #6E2B1A #5D6E1A
monochromatic
#060B19 #0E1C3D #1A336E #264AA0 #3462CF

Accessibility & contrast

On white

12.05
#1A336E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#1A336E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A336E
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A336E#FFFFFF#000000##FFFFFF
##1A336E1.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E3A70
Deuteranopia (green-blind)
#00336D
Tritanopia (blue-blind)
#00414B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1a336e;
/* rgb */ color: rgb(26, 51, 110);
/* oklch */ color: oklch(33.8% 0.107 264.2);
Tailwind
colors: {
  custom: {
    50: '#636a98',
    500: '#1a336e',
    950: '#000000',
  },
}
SCSS
$custom: #1a336e;
$custom-light: #636a98;
$custom-dark: #000000;
JSON
{
  "hex": "#1a336e",
  "rgb": {
    "r": 26,
    "g": 51,
    "b": 110
  },
  "hsl": {
    "h": 222.143,
    "s": 61.765,
    "l": 26.667
  },
  "oklch": {
    "l": 0.33817,
    "c": 0.10722,
    "h": 264.2
  },
  "luminance": 0.03713
}

Semantic roles & 50–950 ramp

primary
#1A336E
secondary
#A38641
accent
#B543E5
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #1A336E

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

Preview Lab → · Contrast checker → · Palette generator →

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