#1D229F#1D229F

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

Color values

HEX#1D229F
RGBrgb(29, 34, 159)
HSLhsl(238, 69%, 37%)
HSVhsv(238, 82%, 62%)
CMYKcmyk(81.8%, 78.6%, 0%, 37.6%)
CIE-LABlab(23.36, 43.20, -66.69)
CIE-LCHlch(23.36, 79.46, 302.93°)
OKLaboklab(35.78% -0.0008 -0.1932)
OKLCHoklch(35.78% 0.193 269.8)
XYZxyz(7.3346, 3.9076, 33.1618)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D229F #9F9A1D
analogous
#1D639F #1D229F #591D9F
triadic
#1D229F #9F1D22 #229F1D
tetradic
#1D229F #9F1D63 #9F9A1D #1D9F59
square
#1D229F #9F1D63 #9F9A1D #1D9F59
split-complementary
#1D229F #9F591D #639F1D
monochromatic
#0A0C37 #14176B #1D229F #262DD3 #565BE0

Accessibility & contrast

On white

11.79
#1D229F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#1D229F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D229F
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D229F#FFFFFF#000000##FFFFFF
##1D229F1.0011.791.7811.79
#FFFFFF11.791.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d229f;
/* rgb */ color: rgb(29, 34, 159);
/* oklch */ color: oklch(35.8% 0.193 269.8);
Tailwind
colors: {
  custom: {
    50: '#735fbd',
    500: '#1d229f',
    950: '#000000',
  },
}
SCSS
$custom: #1d229f;
$custom-light: #735fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#1d229f",
  "rgb": {
    "r": 29,
    "g": 34,
    "b": 159
  },
  "hsl": {
    "h": 237.692,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.35776,
    "c": 0.19318,
    "h": 269.8
  },
  "luminance": 0.03908
}

Semantic roles & 50–950 ramp

primary
#1D229F
secondary
#C4BF54
accent
#E53CEC
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #1D229F

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

Preview Lab → · Contrast checker → · Palette generator →

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