#1D2F6F#1D2F6F

#1D2F6F is a dark, moderate blue. Relative luminance 0.034; OKLCH L 33.2% C 0.113 H 267.8°. Best body text is #FFFFFF at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#1D2F6F
RGBrgb(29, 47, 111)
HSLhsl(227, 59%, 27%)
HSVhsv(227, 74%, 44%)
CMYKcmyk(73.9%, 57.7%, 0%, 56.5%)
CIE-LABlab(21.73, 16.78, -39.30)
CIE-LCHlch(21.73, 42.74, 293.12°)
OKLaboklab(33.15% -0.0043 -0.1131)
OKLCHoklch(33.15% 0.113 267.8)
XYZxyz(4.3915, 3.4415, 15.4687)
Luminance0.0344 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2F6F #6F5D1D
analogous
#1D586F #1D2F6F #341D6F
triadic
#1D2F6F #6F1D2F #2F6F1D
tetradic
#1D2F6F #6F1D58 #6F5D1D #1D6F34
square
#1D2F6F #6F1D58 #6F5D1D #1D6F34
split-complementary
#1D2F6F #6F341D #586F1D
monochromatic
#060A18 #101A3E #1D2F6F #2A44A0 #3B5BCC

Accessibility & contrast

On white

12.44
#1D2F6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D2F6F
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2F6F#FFFFFF#000000##FFFFFF
##1D2F6F1.0012.441.6912.44
#FFFFFF12.441.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003871
Deuteranopia (green-blind)
#00306E
Tritanopia (blue-blind)
#003F4A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1d2f6f;
/* rgb */ color: rgb(29, 47, 111);
/* oklch */ color: oklch(33.2% 0.113 267.8);
Tailwind
colors: {
  custom: {
    50: '#656799',
    500: '#1d2f6f',
    950: '#000000',
  },
}
SCSS
$custom: #1d2f6f;
$custom-light: #656799;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2f6f",
  "rgb": {
    "r": 29,
    "g": 47,
    "b": 111
  },
  "hsl": {
    "h": 226.829,
    "s": 58.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.33152,
    "c": 0.11323,
    "h": 267.8
  },
  "luminance": 0.03442
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1D2F6F

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

Preview Lab → · Contrast checker → · Palette generator →

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