#1A239F#1A239F

#1A239F is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.8% C 0.193 H 268.8°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#1A239F
RGBrgb(26, 35, 159)
HSLhsl(236, 72%, 36%)
HSVhsv(236, 84%, 62%)
CMYKcmyk(83.6%, 78%, 0%, 37.6%)
CIE-LABlab(23.42, 42.46, -66.61)
CIE-LCHlch(23.42, 78.99, 302.52°)
OKLaboklab(35.78% -0.0041 -0.193)
OKLCHoklch(35.78% 0.193 268.8)
XYZxyz(7.2829, 3.9240, 33.1677)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A239F #9F961A
analogous
#1A669F #1A239F #541A9F
triadic
#1A239F #9F1A23 #239F1A
tetradic
#1A239F #9F1A66 #9F961A #1A9F54
square
#1A239F #9F1A66 #9F961A #1A9F54
split-complementary
#1A239F #9F541A #669F1A
monochromatic
#090C36 #11176A #1A239F #232FD4 #515BE3

Accessibility & contrast

On white

11.76
#1A239F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#1A239F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A239F
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A239F#FFFFFF#000000##FFFFFF
##1A239F1.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA3
Deuteranopia (green-blind)
#00319D
Tritanopia (blue-blind)
#004960
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1a239f;
/* rgb */ color: rgb(26, 35, 159);
/* oklch */ color: oklch(35.8% 0.193 268.8);
Tailwind
colors: {
  custom: {
    50: '#7260bd',
    500: '#1a239f',
    950: '#000000',
  },
}
SCSS
$custom: #1a239f;
$custom-light: #7260bd;
$custom-dark: #000000;
JSON
{
  "hex": "#1a239f",
  "rgb": {
    "r": 26,
    "g": 35,
    "b": 159
  },
  "hsl": {
    "h": 235.94,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.35776,
    "c": 0.19303,
    "h": 268.8
  },
  "luminance": 0.03925
}

Semantic roles & 50–950 ramp

primary
#1A239F
secondary
#C5BD50
accent
#E239EF
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #1A239F

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

Preview Lab → · Contrast checker → · Palette generator →

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