#1A229F#1A229F

#1A229F is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.6% C 0.194 H 268.9°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#1A229F
RGBrgb(26, 34, 159)
HSLhsl(236, 72%, 36%)
HSVhsv(236, 84%, 62%)
CMYKcmyk(83.6%, 78.6%, 0%, 37.6%)
CIE-LABlab(23.22, 43.02, -66.93)
CIE-LCHlch(23.22, 79.56, 302.73°)
OKLaboklab(35.64% -0.0038 -0.1939)
OKLCHoklch(35.64% 0.194 268.9)
XYZxyz(7.2539, 3.8660, 33.1581)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A229F #9F971A
analogous
#1A659F #1A229F #551A9F
triadic
#1A229F #9F1A22 #229F1A
tetradic
#1A229F #9F1A65 #9F971A #1A9F55
square
#1A229F #9F1A65 #9F971A #1A9F55
split-complementary
#1A229F #9F551A #659F1A
monochromatic
#090C36 #11176A #1A229F #232DD4 #515AE3

Accessibility & contrast

On white

11.84
#1A229F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#1A229F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A229F
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A229F#FFFFFF#000000##FFFFFF
##1A229F1.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA3
Deuteranopia (green-blind)
#00309D
Tritanopia (blue-blind)
#004860
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1a229f;
/* rgb */ color: rgb(26, 34, 159);
/* oklch */ color: oklch(35.6% 0.194 268.9);
Tailwind
colors: {
  custom: {
    50: '#725fbd',
    500: '#1a229f',
    950: '#000000',
  },
}
SCSS
$custom: #1a229f;
$custom-light: #725fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#1a229f",
  "rgb": {
    "r": 26,
    "g": 34,
    "b": 159
  },
  "hsl": {
    "h": 236.391,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.35639,
    "c": 0.19396,
    "h": 268.9
  },
  "luminance": 0.03867
}

Semantic roles & 50–950 ramp

primary
#1A229F
secondary
#C5BE50
accent
#E439EF
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #1A229F

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

Preview Lab → · Contrast checker → · Palette generator →

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