#1D2F70#1D2F70

#1D2F70 is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.2% C 0.115 H 267.9°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#1D2F70
RGBrgb(29, 47, 112)
HSLhsl(227, 59%, 28%)
HSVhsv(227, 74%, 44%)
CMYKcmyk(74.1%, 58%, 0%, 56.1%)
CIE-LABlab(21.81, 17.18, -39.82)
CIE-LCHlch(21.81, 43.37, 293.34°)
OKLaboklab(33.24% -0.0042 -0.1146)
OKLCHoklch(33.24% 0.115 267.9)
XYZxyz(4.4468, 3.4636, 15.7603)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2F70 #705E1D
analogous
#1D5870 #1D2F70 #351D70
triadic
#1D2F70 #701D2F #2F701D
tetradic
#1D2F70 #701D58 #705E1D #1D7035
square
#1D2F70 #701D58 #705E1D #1D7035
split-complementary
#1D2F70 #70351D #58701D
monochromatic
#060A18 #101B3F #1D2F70 #2A43A1 #3B5BCC

Accessibility & contrast

On white

12.41
#1D2F70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#1D2F70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2F70
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2F70#FFFFFF#000000##FFFFFF
##1D2F701.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003872
Deuteranopia (green-blind)
#00316F
Tritanopia (blue-blind)
#003F4A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1d2f70;
/* rgb */ color: rgb(29, 47, 112);
/* oklch */ color: oklch(33.2% 0.115 267.9);
Tailwind
colors: {
  custom: {
    50: '#65679a',
    500: '#1d2f70',
    950: '#000000',
  },
}
SCSS
$custom: #1d2f70;
$custom-light: #65679a;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2f70",
  "rgb": {
    "r": 29,
    "g": 47,
    "b": 112
  },
  "hsl": {
    "h": 226.988,
    "s": 58.865,
    "l": 27.647
  },
  "oklch": {
    "l": 0.33238,
    "c": 0.11473,
    "h": 267.9
  },
  "luminance": 0.03464
}

Semantic roles & 50–950 ramp

primary
#1D2F70
secondary
#A49044
accent
#C046E2
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #1D2F70

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

Preview Lab → · Contrast checker → · Palette generator →

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