#1D2F73#1D2F73

#1D2F73 is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.5% C 0.119 H 268.1°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#1D2F73
RGBrgb(29, 47, 115)
HSLhsl(227, 60%, 28%)
HSVhsv(227, 75%, 45%)
CMYKcmyk(74.8%, 59.1%, 0%, 54.9%)
CIE-LABlab(22.06, 18.39, -41.34)
CIE-LCHlch(22.06, 45.25, 293.98°)
OKLaboklab(33.5% -0.004 -0.1191)
OKLCHoklch(33.5% 0.119 268.1)
XYZxyz(4.6167, 3.5316, 16.6547)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2F73 #73611D
analogous
#1D5A73 #1D2F73 #361D73
triadic
#1D2F73 #731D2F #2F731D
tetradic
#1D2F73 #731D5A #73611D #1D7336
square
#1D2F73 #731D5A #73611D #1D7336
split-complementary
#1D2F73 #73361D #5A731D
monochromatic
#060A18 #111B42 #1D2F73 #2943A4 #3C5BCE

Accessibility & contrast

On white

12.31
#1D2F73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#1D2F73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2F73
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2F73#FFFFFF#000000##FFFFFF
##1D2F731.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003975
Deuteranopia (green-blind)
#003172
Tritanopia (blue-blind)
#00404C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1d2f73;
/* rgb */ color: rgb(29, 47, 115);
/* oklch */ color: oklch(33.5% 0.119 268.1);
Tailwind
colors: {
  custom: {
    50: '#66679c',
    500: '#1d2f73',
    950: '#000000',
  },
}
SCSS
$custom: #1d2f73;
$custom-light: #66679c;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2f73",
  "rgb": {
    "r": 29,
    "g": 47,
    "b": 115
  },
  "hsl": {
    "h": 227.442,
    "s": 59.722,
    "l": 28.235
  },
  "oklch": {
    "l": 0.335,
    "c": 0.11921,
    "h": 268.1
  },
  "luminance": 0.03532
}

Semantic roles & 50–950 ramp

primary
#1D2F73
secondary
#A79345
accent
#C245E3
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #1D2F73

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

Preview Lab → · Contrast checker → · Palette generator →

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