#1A2E8E#1A2E8E

#1A2E8E is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.7% C 0.160 H 267.7°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#1A2E8E
RGBrgb(26, 46, 142)
HSLhsl(230, 69%, 33%)
HSVhsv(230, 82%, 56%)
CMYKcmyk(81.7%, 67.6%, 0%, 44.3%)
CIE-LABlab(24.08, 29.40, -55.05)
CIE-LCHlch(24.08, 62.41, 298.11°)
OKLaboklab(35.71% -0.0064 -0.1594)
OKLCHoklch(35.71% 0.16 267.7)
XYZxyz(6.2838, 4.1259, 26.0511)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2E8E #8E7A1A
analogous
#1A688E #1A2E8E #401A8E
triadic
#1A2E8E #8E1A2E #2E8E1A
tetradic
#1A2E8E #8E1A68 #8E7A1A #1A8E40
square
#1A2E8E #8E1A68 #8E7A1A #1A8E40
split-complementary
#1A2E8E #8E401A #688E1A
monochromatic
#070C27 #111D5A #1A2E8E #233FC2 #4560DD

Accessibility & contrast

On white

11.50
#1A2E8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#1A2E8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2E8E
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2E8E#FFFFFF#000000##FFFFFF
##1A2E8E1.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F91
Deuteranopia (green-blind)
#00348C
Tritanopia (blue-blind)
#00485A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1a2e8e;
/* rgb */ color: rgb(26, 46, 142);
/* oklch */ color: oklch(35.7% 0.160 267.7);
Tailwind
colors: {
  custom: {
    50: '#6c66b0',
    500: '#1a2e8e',
    950: '#000000',
  },
}
SCSS
$custom: #1a2e8e;
$custom-light: #6c66b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2e8e",
  "rgb": {
    "r": 26,
    "g": 46,
    "b": 142
  },
  "hsl": {
    "h": 229.655,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.35714,
    "c": 0.15954,
    "h": 267.7
  },
  "luminance": 0.04127
}

Semantic roles & 50–950 ramp

primary
#1A2E8E
secondary
#BEAA45
accent
#CE3CEC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #1A2E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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