#1A2D72#1A2D72

#1A2D72 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 32.8% C 0.121 H 267.5°. Best body text is #FFFFFF at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#1A2D72
RGBrgb(26, 45, 114)
HSLhsl(227, 63%, 27%)
HSVhsv(227, 77%, 45%)
CMYKcmyk(77.2%, 60.5%, 0%, 55.3%)
CIE-LABlab(21.25, 18.99, -42.03)
CIE-LCHlch(21.25, 46.12, 294.31°)
OKLaboklab(32.82% -0.0054 -0.1212)
OKLCHoklch(32.82% 0.121 267.5)
XYZxyz(4.4006, 3.3108, 16.3235)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2D72 #725F1A
analogous
#1A5972 #1A2D72 #331A72
triadic
#1A2D72 #721A2D #2D721A
tetradic
#1A2D72 #721A59 #725F1A #1A7233
square
#1A2D72 #721A59 #725F1A #1A7233
split-complementary
#1A2D72 #72331A #59721A
monochromatic
#060A19 #0F1940 #1A2D72 #2541A4 #3557D1

Accessibility & contrast

On white

12.63
#1A2D72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#1A2D72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2D72
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2D72#FFFFFF#000000##FFFFFF
##1A2D721.0012.631.6612.63
#FFFFFF12.631.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003774
Deuteranopia (green-blind)
#002F71
Tritanopia (blue-blind)
#003E4A
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1a2d72;
/* rgb */ color: rgb(26, 45, 114);
/* oklch */ color: oklch(32.8% 0.121 267.5);
Tailwind
colors: {
  custom: {
    50: '#65659b',
    500: '#1a2d72',
    950: '#000000',
  },
}
SCSS
$custom: #1a2d72;
$custom-light: #65659b;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2d72",
  "rgb": {
    "r": 26,
    "g": 45,
    "b": 114
  },
  "hsl": {
    "h": 227.045,
    "s": 62.857,
    "l": 27.451
  },
  "oklch": {
    "l": 0.32825,
    "c": 0.12137,
    "h": 267.5
  },
  "luminance": 0.03311
}

Semantic roles & 50–950 ramp

primary
#1A2D72
secondary
#A79141
accent
#C242E6
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #1A2D72

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

Preview Lab → · Contrast checker → · Palette generator →

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