#1D2F63#1D2F63

#1D2F63 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.2% C 0.095 H 266.7°. Best body text is #FFFFFF at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#1D2F63
RGBrgb(29, 47, 99)
HSLhsl(225, 55%, 25%)
HSVhsv(225, 71%, 39%)
CMYKcmyk(70.7%, 52.5%, 0%, 61.2%)
CIE-LABlab(20.81, 11.94, -33.01)
CIE-LCHlch(20.81, 35.10, 289.88°)
OKLaboklab(32.16% -0.0055 -0.0946)
OKLCHoklch(32.16% 0.095 266.7)
XYZxyz(3.7746, 3.1947, 12.2197)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2F63 #63511D
analogous
#1D5263 #1D2F63 #2E1D63
triadic
#1D2F63 #631D2F #2F631D
tetradic
#1D2F63 #631D52 #63511D #1D632E
square
#1D2F63 #631D52 #63511D #1D632E
split-complementary
#1D2F63 #632E1D #52631D
monochromatic
#070B18 #0F1934 #1D2F63 #2B4592 #395CC2

Accessibility & contrast

On white

12.81
#1D2F63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#1D2F63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2F63
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2F63#FFFFFF#000000##FFFFFF
##1D2F631.0012.811.6412.81
#FFFFFF12.811.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123565
Deuteranopia (green-blind)
#022F62
Tritanopia (blue-blind)
#003B44
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1d2f63;
/* rgb */ color: rgb(29, 47, 99);
/* oklch */ color: oklch(32.2% 0.095 266.7);
Tailwind
colors: {
  custom: {
    50: '#626790',
    500: '#1d2f63',
    950: '#000000',
  },
}
SCSS
$custom: #1d2f63;
$custom-light: #626790;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2f63",
  "rgb": {
    "r": 29,
    "g": 47,
    "b": 99
  },
  "hsl": {
    "h": 224.571,
    "s": 54.688,
    "l": 25.098
  },
  "oklch": {
    "l": 0.32158,
    "c": 0.09479,
    "h": 266.7
  },
  "luminance": 0.03195
}

Semantic roles & 50–950 ramp

primary
#1D2F63
secondary
#988244
accent
#B84ADE
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06060C
muted
#7A7A7D

Preview Lab

Preview with #1D2F63

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

Preview Lab → · Contrast checker → · Palette generator →

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