#1D235A#1D235A

#1D235A is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.7% C 0.098 H 273.8°. Best body text is #FFFFFF at 14.58:1 contrast (WCAG AA passes).

Color values

HEX#1D235A
RGBrgb(29, 35, 90)
HSLhsl(234, 51%, 23%)
HSVhsv(234, 68%, 35%)
CMYKcmyk(67.8%, 61.1%, 0%, 64.7%)
CIE-LABlab(16.51, 17.05, -34.00)
CIE-LCHlch(16.51, 38.04, 296.63°)
OKLaboklab(28.69% 0.0065 -0.0977)
OKLCHoklch(28.69% 0.098 273.8)
XYZxyz(2.9526, 2.2012, 9.9402)
Luminance0.0220 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D235A #5A541D
analogous
#1D415A #1D235A #351D5A
triadic
#1D235A #5A1D23 #235A1D
tetradic
#1D235A #5A1D41 #5A541D #1D5A35
square
#1D235A #5A1D41 #5A541D #1D5A35
split-complementary
#1D235A #5A351D #415A1D
monochromatic
#070917 #0E112C #1D235A #2C3588 #3B47B7

Accessibility & contrast

On white

14.58
#1D235A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#1D235A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D235A
14.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D235A#FFFFFF#000000##FFFFFF
##1D235A1.0014.581.4414.58
#FFFFFF14.581.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d235a;
/* rgb */ color: rgb(29, 35, 90);
/* oklch */ color: oklch(28.7% 0.098 273.8);
Tailwind
colors: {
  custom: {
    50: '#615d89',
    500: '#1d235a',
    950: '#000000',
  },
}
SCSS
$custom: #1d235a;
$custom-light: #615d89;
$custom-dark: #000000;
JSON
{
  "hex": "#1d235a",
  "rgb": {
    "r": 29,
    "g": 35,
    "b": 90
  },
  "hsl": {
    "h": 234.098,
    "s": 51.261,
    "l": 23.333
  },
  "oklch": {
    "l": 0.28694,
    "c": 0.09794,
    "h": 273.8
  },
  "luminance": 0.02201
}

Semantic roles & 50–950 ramp

primary
#1D235A
secondary
#8F8844
accent
#CD4DDB
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05040B
muted
#7A797C

Preview Lab

Preview with #1D235A

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

Preview Lab → · Contrast checker → · Palette generator →

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