#1D248F#1D248F

#1D248F is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.3% C 0.171 H 270.4°. Best body text is #FFFFFF at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#1D248F
RGBrgb(29, 36, 143)
HSLhsl(236, 66%, 34%)
HSVhsv(236, 80%, 56%)
CMYKcmyk(79.7%, 74.8%, 0%, 43.9%)
CIE-LABlab(21.96, 36.48, -59.16)
CIE-LCHlch(21.96, 69.50, 301.66°)
OKLaboklab(34.25% 0.0012 -0.1713)
OKLCHoklch(34.25% 0.171 270.4)
XYZxyz(6.0938, 3.5055, 26.3367)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D248F #8F881D
analogous
#1D5D8F #1D248F #4F1D8F
triadic
#1D248F #8F1D24 #248F1D
tetradic
#1D248F #8F1D5D #8F881D #1D8F4F
square
#1D248F #8F1D5D #8F881D #1D8F4F
split-complementary
#1D248F #8F4F1D #5D8F1D
monochromatic
#080A29 #13175C #1D248F #2731C2 #4C55DB

Accessibility & contrast

On white

12.34
#1D248F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#1D248F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D248F
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D248F#FFFFFF#000000##FFFFFF
##1D248F1.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A92
Deuteranopia (green-blind)
#002F8D
Tritanopia (blue-blind)
#004357
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1d248f;
/* rgb */ color: rgb(29, 36, 143);
/* oklch */ color: oklch(34.3% 0.171 270.4);
Tailwind
colors: {
  custom: {
    50: '#6e60b1',
    500: '#1d248f',
    950: '#000000',
  },
}
SCSS
$custom: #1d248f;
$custom-light: #6e60b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1d248f",
  "rgb": {
    "r": 29,
    "g": 36,
    "b": 143
  },
  "hsl": {
    "h": 236.316,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.34252,
    "c": 0.17132,
    "h": 270.4
  },
  "luminance": 0.03506
}

Semantic roles & 50–950 ramp

primary
#1D248F
secondary
#BDB64B
accent
#DF3FE9
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #1D248F

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

Preview Lab → · Contrast checker → · Palette generator →

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