#1A336F#1A336F

#1A336F is a dark, moderate blue. Relative luminance 0.037; OKLCH L 33.9% C 0.109 H 264.3°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#1A336F
RGBrgb(26, 51, 111)
HSLhsl(222, 62%, 27%)
HSVhsv(222, 77%, 44%)
CMYKcmyk(76.6%, 54.1%, 0%, 56.5%)
CIE-LABlab(22.77, 13.46, -37.62)
CIE-LCHlch(22.77, 39.96, 289.69°)
OKLaboklab(33.9% -0.0107 -0.1082)
OKLCHoklch(33.9% 0.109 264.3)
XYZxyz(4.4781, 3.7345, 15.5207)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A336F #6F561A
analogous
#1A5E6F #1A336F #2C1A6F
triadic
#1A336F #6F1A33 #336F1A
tetradic
#1A336F #6F1A5E #6F561A #1A6F2C
square
#1A336F #6F1A5E #6F561A #1A6F2C
split-complementary
#1A336F #6F2C1A #5E6F1A
monochromatic
#060B19 #0E1C3D #1A336F #264AA1 #3462CF

Accessibility & contrast

On white

12.02
#1A336F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#1A336F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A336F
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A336F#FFFFFF#000000##FFFFFF
##1A336F1.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a336f;
/* rgb */ color: rgb(26, 51, 111);
/* oklch */ color: oklch(33.9% 0.109 264.3);
Tailwind
colors: {
  custom: {
    50: '#646a99',
    500: '#1a336f',
    950: '#000000',
  },
}
SCSS
$custom: #1a336f;
$custom-light: #646a99;
$custom-dark: #000000;
JSON
{
  "hex": "#1a336f",
  "rgb": {
    "r": 26,
    "g": 51,
    "b": 111
  },
  "hsl": {
    "h": 222.353,
    "s": 62.044,
    "l": 26.863
  },
  "oklch": {
    "l": 0.33899,
    "c": 0.10873,
    "h": 264.3
  },
  "luminance": 0.03735
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1A336F

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

Preview Lab → · Contrast checker → · Palette generator →

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