#1D235E#1D235E

#1D235E is a dark, moderate blue. Relative luminance 0.023; OKLCH L 29.1% C 0.104 H 273.6°. Best body text is #FFFFFF at 14.44:1 contrast (WCAG AA passes).

Color values

HEX#1D235E
RGBrgb(29, 35, 94)
HSLhsl(234, 53%, 24%)
HSVhsv(234, 69%, 37%)
CMYKcmyk(69.1%, 62.8%, 0%, 63.1%)
CIE-LABlab(16.85, 18.62, -36.12)
CIE-LCHlch(16.85, 40.63, 297.28°)
OKLaboklab(29.05% 0.0065 -0.1039)
OKLCHoklch(29.05% 0.104 273.6)
XYZxyz(3.1274, 2.2712, 10.8611)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D235E #5E581D
analogous
#1D445E #1D235E #381D5E
triadic
#1D235E #5E1D23 #235E1D
tetradic
#1D235E #5E1D44 #5E581D #1D5E38
square
#1D235E #5E1D44 #5E581D #1D5E38
split-complementary
#1D235E #5E381D #445E1D
monochromatic
#070917 #0F122F #1D235E #2B348D #3A46BC

Accessibility & contrast

On white

14.44
#1D235E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#1D235E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D235E
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D235E#FFFFFF#000000##FFFFFF
##1D235E1.0014.441.4514.44
#FFFFFF14.441.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D60
Deuteranopia (green-blind)
#00275D
Tritanopia (blue-blind)
#00313C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1d235e;
/* rgb */ color: rgb(29, 35, 94);
/* oklch */ color: oklch(29.1% 0.104 273.6);
Tailwind
colors: {
  custom: {
    50: '#625d8c',
    500: '#1d235e',
    950: '#000000',
  },
}
SCSS
$custom: #1d235e;
$custom-light: #625d8c;
$custom-dark: #000000;
JSON
{
  "hex": "#1d235e",
  "rgb": {
    "r": 29,
    "g": 35,
    "b": 94
  },
  "hsl": {
    "h": 234.462,
    "s": 52.846,
    "l": 24.118
  },
  "oklch": {
    "l": 0.29055,
    "c": 0.10414,
    "h": 273.6
  },
  "luminance": 0.02271
}

Semantic roles & 50–950 ramp

primary
#1D235E
secondary
#938C44
accent
#CF4CDC
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05040C
muted
#7A797D

Preview Lab

Preview with #1D235E

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

Preview Lab → · Contrast checker → · Palette generator →

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