#1D225A#1D225A

#1D225A is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.5% C 0.099 H 274.3°. Best body text is #FFFFFF at 14.70:1 contrast (WCAG AA passes).

Color values

HEX#1D225A
RGBrgb(29, 34, 90)
HSLhsl(235, 51%, 23%)
HSVhsv(235, 68%, 35%)
CMYKcmyk(67.8%, 62.2%, 0%, 64.7%)
CIE-LABlab(16.22, 17.78, -34.47)
CIE-LCHlch(16.22, 38.78, 297.28°)
OKLaboklab(28.48% 0.0075 -0.0991)
OKLCHoklch(28.48% 0.099 274.3)
XYZxyz(2.9236, 2.1432, 9.9305)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D225A #5A551D
analogous
#1D405A #1D225A #361D5A
triadic
#1D225A #5A1D22 #225A1D
tetradic
#1D225A #5A1D40 #5A551D #1D5A36
square
#1D225A #5A1D40 #5A551D #1D5A36
split-complementary
#1D225A #5A361D #405A1D
monochromatic
#070917 #0E112C #1D225A #2C3388 #3B45B7

Accessibility & contrast

On white

14.70
#1D225A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#1D225A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D225A
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D225A#FFFFFF#000000##FFFFFF
##1D225A1.0014.701.4314.70
#FFFFFF14.701.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5C
Deuteranopia (green-blind)
#002659
Tritanopia (blue-blind)
#00303A
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1d225a;
/* rgb */ color: rgb(29, 34, 90);
/* oklch */ color: oklch(28.5% 0.099 274.3);
Tailwind
colors: {
  custom: {
    50: '#615d89',
    500: '#1d225a',
    950: '#000000',
  },
}
SCSS
$custom: #1d225a;
$custom-light: #615d89;
$custom-dark: #000000;
JSON
{
  "hex": "#1d225a",
  "rgb": {
    "r": 29,
    "g": 34,
    "b": 90
  },
  "hsl": {
    "h": 235.082,
    "s": 51.261,
    "l": 23.333
  },
  "oklch": {
    "l": 0.2848,
    "c": 0.09941,
    "h": 274.3
  },
  "luminance": 0.02143
}

Semantic roles & 50–950 ramp

primary
#1D225A
secondary
#8F8944
accent
#CF4DDB
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05040B
muted
#7A797C

Preview Lab

Preview with #1D225A

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

Preview Lab → · Contrast checker → · Palette generator →

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