#1A229D#1A229D

#1A229D is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.4% C 0.192 H 269.0°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#1A229D
RGBrgb(26, 34, 157)
HSLhsl(236, 72%, 36%)
HSVhsv(236, 83%, 62%)
CMYKcmyk(83.4%, 78.3%, 0%, 38.4%)
CIE-LABlab(22.99, 42.34, -66.10)
CIE-LCHlch(22.99, 78.49, 302.64°)
OKLaboklab(35.41% -0.0035 -0.1915)
OKLCHoklch(35.41% 0.192 269)
XYZxyz(7.0817, 3.7971, 32.2514)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A229D #9D951A
analogous
#1A639D #1A229D #531A9D
triadic
#1A229D #9D1A22 #229D1A
tetradic
#1A229D #9D1A63 #9D951A #1A9D53
square
#1A229D #9D1A63 #9D951A #1A9D53
split-complementary
#1A229D #9D531A #639D1A
monochromatic
#090B34 #111768 #1A229D #232DD2 #4F58E2

Accessibility & contrast

On white

11.93
#1A229D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#1A229D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A229D
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A229D#FFFFFF#000000##FFFFFF
##1A229D1.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA0
Deuteranopia (green-blind)
#00309B
Tritanopia (blue-blind)
#00475F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1a229d;
/* rgb */ color: rgb(26, 34, 157);
/* oklch */ color: oklch(35.4% 0.192 269.0);
Tailwind
colors: {
  custom: {
    50: '#725fbb',
    500: '#1a229d',
    950: '#000000',
  },
}
SCSS
$custom: #1a229d;
$custom-light: #725fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#1a229d",
  "rgb": {
    "r": 26,
    "g": 34,
    "b": 157
  },
  "hsl": {
    "h": 236.336,
    "s": 71.585,
    "l": 35.882
  },
  "oklch": {
    "l": 0.35405,
    "c": 0.19153,
    "h": 269
  },
  "luminance": 0.03798
}

Semantic roles & 50–950 ramp

primary
#1A229D
secondary
#C4BD4E
accent
#E339EE
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090512
muted
#7B7981

Preview Lab

Preview with #1A229D

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

Preview Lab → · Contrast checker → · Palette generator →

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