#1D2E8C#1D2E8C

#1D2E8C is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.6% C 0.156 H 268.7°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#1D2E8C
RGBrgb(29, 46, 140)
HSLhsl(231, 66%, 33%)
HSVhsv(231, 79%, 55%)
CMYKcmyk(79.3%, 67.1%, 0%, 45.1%)
CIE-LABlab(24.03, 28.92, -53.90)
CIE-LCHlch(24.03, 61.17, 298.22°)
OKLaboklab(35.65% -0.0036 -0.156)
OKLCHoklch(35.65% 0.156 268.7)
XYZxyz(6.2157, 4.1080, 25.2712)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2E8C #8C7B1D
analogous
#1D658C #1D2E8C #431D8C
triadic
#1D2E8C #8C1D2E #2E8C1D
tetradic
#1D2E8C #8C1D65 #8C7B1D #1D8C43
square
#1D2E8C #8C1D65 #8C7B1D #1D8C43
split-complementary
#1D2E8C #8C431D #658C1D
monochromatic
#080D27 #121D59 #1D2E8C #283FBF #4A60D9

Accessibility & contrast

On white

11.53
#1D2E8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#1D2E8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2E8C
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2E8C#FFFFFF#000000##FFFFFF
##1D2E8C1.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8F
Deuteranopia (green-blind)
#00348A
Tritanopia (blue-blind)
#004758
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1d2e8c;
/* rgb */ color: rgb(29, 46, 140);
/* oklch */ color: oklch(35.6% 0.156 268.7);
Tailwind
colors: {
  custom: {
    50: '#6d66af',
    500: '#1d2e8c',
    950: '#000000',
  },
}
SCSS
$custom: #1d2e8c;
$custom-light: #6d66af;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2e8c",
  "rgb": {
    "r": 29,
    "g": 46,
    "b": 140
  },
  "hsl": {
    "h": 230.811,
    "s": 65.68,
    "l": 33.137
  },
  "oklch": {
    "l": 0.3565,
    "c": 0.15602,
    "h": 268.7
  },
  "luminance": 0.04109
}

Semantic roles & 50–950 ramp

primary
#1D2E8C
secondary
#BCAA49
accent
#CF3FE9
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #1D2E8C

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

Preview Lab → · Contrast checker → · Palette generator →

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