#1A2E8D#1A2E8D

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

Color values

HEX#1A2E8D
RGBrgb(26, 46, 141)
HSLhsl(230, 69%, 33%)
HSVhsv(230, 82%, 55%)
CMYKcmyk(81.6%, 67.4%, 0%, 44.7%)
CIE-LABlab(23.99, 29.02, -54.59)
CIE-LCHlch(23.99, 61.82, 297.99°)
OKLaboklab(35.61% -0.0064 -0.1581)
OKLCHoklch(35.61% 0.158 267.7)
XYZxyz(6.2090, 4.0960, 25.6575)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2E8D #8D791A
analogous
#1A688D #1A2E8D #3F1A8D
triadic
#1A2E8D #8D1A2E #2E8D1A
tetradic
#1A2E8D #8D1A68 #8D791A #1A8D3F
square
#1A2E8D #8D1A68 #8D791A #1A8D3F
split-complementary
#1A2E8D #8D3F1A #688D1A
monochromatic
#070C26 #101D59 #1A2E8D #243FC1 #455FDD

Accessibility & contrast

On white

11.54
#1A2E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#1A2E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2E8D
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2E8D#FFFFFF#000000##FFFFFF
##1A2E8D1.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F90
Deuteranopia (green-blind)
#00348B
Tritanopia (blue-blind)
#004859
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1a2e8d;
/* rgb */ color: rgb(26, 46, 141);
/* oklch */ color: oklch(35.6% 0.158 267.7);
Tailwind
colors: {
  custom: {
    50: '#6c66af',
    500: '#1a2e8d',
    950: '#000000',
  },
}
SCSS
$custom: #1a2e8d;
$custom-light: #6c66af;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2e8d",
  "rgb": {
    "r": 26,
    "g": 46,
    "b": 141
  },
  "hsl": {
    "h": 229.565,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.35614,
    "c": 0.15819,
    "h": 267.7
  },
  "luminance": 0.04097
}

Semantic roles & 50–950 ramp

primary
#1A2E8D
secondary
#BEA945
accent
#CD3CEC
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #1A2E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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