#1D2F75#1D2F75

#1D2F75 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 33.7% C 0.122 H 268.2°. Best body text is #FFFFFF at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#1D2F75
RGBrgb(29, 47, 117)
HSLhsl(228, 60%, 29%)
HSVhsv(228, 75%, 46%)
CMYKcmyk(75.2%, 59.8%, 0%, 54.1%)
CIE-LABlab(22.22, 19.19, -42.35)
CIE-LCHlch(22.22, 46.50, 294.38°)
OKLaboklab(33.68% -0.0039 -0.1221)
OKLCHoklch(33.68% 0.122 268.2)
XYZxyz(4.7330, 3.5781, 17.2674)
Luminance0.0358 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2F75 #75631D
analogous
#1D5B75 #1D2F75 #371D75
triadic
#1D2F75 #751D2F #2F751D
tetradic
#1D2F75 #751D5B #75631D #1D7537
square
#1D2F75 #751D5B #75631D #1D7537
split-complementary
#1D2F75 #75371D #5B751D
monochromatic
#060A19 #111B44 #1D2F75 #2943A6 #3D5BCF

Accessibility & contrast

On white

12.24
#1D2F75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#1D2F75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2F75
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2F75#FFFFFF#000000##FFFFFF
##1D2F751.0012.241.7212.24
#FFFFFF12.241.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003977
Deuteranopia (green-blind)
#003174
Tritanopia (blue-blind)
#00404D
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1d2f75;
/* rgb */ color: rgb(29, 47, 117);
/* oklch */ color: oklch(33.7% 0.122 268.2);
Tailwind
colors: {
  custom: {
    50: '#66679d',
    500: '#1d2f75',
    950: '#000000',
  },
}
SCSS
$custom: #1d2f75;
$custom-light: #66679d;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2f75",
  "rgb": {
    "r": 29,
    "g": 47,
    "b": 117
  },
  "hsl": {
    "h": 227.727,
    "s": 60.274,
    "l": 28.627
  },
  "oklch": {
    "l": 0.33677,
    "c": 0.12217,
    "h": 268.2
  },
  "luminance": 0.03579
}

Semantic roles & 50–950 ramp

primary
#1D2F75
secondary
#A99545
accent
#C344E3
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #1D2F75

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

Preview Lab → · Contrast checker → · Palette generator →

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