#1D226F#1D226F

#1D226F is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.5% C 0.131 H 272.8°. Best body text is #FFFFFF at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#1D226F
RGBrgb(29, 34, 111)
HSLhsl(236, 59%, 27%)
HSVhsv(236, 74%, 44%)
CMYKcmyk(73.9%, 69.4%, 0%, 56.5%)
CIE-LABlab(18.15, 25.93, -45.14)
CIE-LCHlch(18.15, 52.05, 299.87°)
OKLaboklab(30.5% 0.0065 -0.1304)
OKLCHoklch(30.5% 0.131 272.8)
XYZxyz(3.9470, 2.5526, 15.3205)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D226F #6F6A1D
analogous
#1D4B6F #1D226F #411D6F
triadic
#1D226F #6F1D22 #226F1D
tetradic
#1D226F #6F1D4B #6F6A1D #1D6F41
square
#1D226F #6F1D4B #6F6A1D #1D6F41
split-complementary
#1D226F #6F411D #4B6F1D
monochromatic
#060718 #10133E #1D226F #2A31A0 #3B44CC

Accessibility & contrast

On white

13.90
#1D226F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#1D226F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D226F
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D226F#FFFFFF#000000##FFFFFF
##1D226F1.0013.901.5113.90
#FFFFFF13.901.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003071
Deuteranopia (green-blind)
#00296E
Tritanopia (blue-blind)
#003645
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1d226f;
/* rgb */ color: rgb(29, 34, 111);
/* oklch */ color: oklch(30.5% 0.131 272.8);
Tailwind
colors: {
  custom: {
    50: '#665d99',
    500: '#1d226f',
    950: '#000000',
  },
}
SCSS
$custom: #1d226f;
$custom-light: #665d99;
$custom-dark: #000000;
JSON
{
  "hex": "#1d226f",
  "rgb": {
    "r": 29,
    "g": 34,
    "b": 111
  },
  "hsl": {
    "h": 236.341,
    "s": 58.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.30502,
    "c": 0.13058,
    "h": 272.8
  },
  "luminance": 0.02553
}

Semantic roles & 50–950 ramp

primary
#1D226F
secondary
#A39E44
accent
#D846E2
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #1D226F

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

Preview Lab → · Contrast checker → · Palette generator →

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