#1A2F76#1A2F76

#1A2F76 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 33.6% C 0.125 H 266.9°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#1A2F76
RGBrgb(26, 47, 118)
HSLhsl(226, 64%, 28%)
HSVhsv(226, 78%, 46%)
CMYKcmyk(78%, 60.2%, 0%, 53.7%)
CIE-LABlab(22.16, 19.19, -43.10)
CIE-LCHlch(22.16, 47.18, 294.00°)
OKLaboklab(33.62% -0.0068 -0.1244)
OKLCHoklch(33.62% 0.125 266.9)
XYZxyz(4.7114, 3.5601, 17.5749)
Luminance0.0356 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2F76 #76611A
analogous
#1A5D76 #1A2F76 #331A76
triadic
#1A2F76 #761A2F #2F761A
tetradic
#1A2F76 #761A5D #76611A #1A7633
square
#1A2F76 #761A5D #76611A #1A7633
split-complementary
#1A2F76 #76331A #5D761A
monochromatic
#060A19 #0F1B44 #1A2F76 #2543A8 #375BD3

Accessibility & contrast

On white

12.26
#1A2F76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#1A2F76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2F76
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2F76#FFFFFF#000000##FFFFFF
##1A2F761.0012.261.7112.26
#FFFFFF12.261.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003978
Deuteranopia (green-blind)
#003175
Tritanopia (blue-blind)
#00414D
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1a2f76;
/* rgb */ color: rgb(26, 47, 118);
/* oklch */ color: oklch(33.6% 0.125 266.9);
Tailwind
colors: {
  custom: {
    50: '#66679e',
    500: '#1a2f76',
    950: '#000000',
  },
}
SCSS
$custom: #1a2f76;
$custom-light: #66679e;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2f76",
  "rgb": {
    "r": 26,
    "g": 47,
    "b": 118
  },
  "hsl": {
    "h": 226.304,
    "s": 63.889,
    "l": 28.235
  },
  "oklch": {
    "l": 0.33615,
    "c": 0.12457,
    "h": 266.9
  },
  "luminance": 0.03561
}

Semantic roles & 50–950 ramp

primary
#1A2F76
secondary
#AB9341
accent
#C141E7
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #1A2F76

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

Preview Lab → · Contrast checker → · Palette generator →

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