#1D2F68#1D2F68

#1D2F68 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.6% C 0.103 H 267.3°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#1D2F68
RGBrgb(29, 47, 104)
HSLhsl(226, 56%, 26%)
HSVhsv(226, 72%, 41%)
CMYKcmyk(72.1%, 54.8%, 0%, 59.2%)
CIE-LABlab(21.18, 13.95, -35.67)
CIE-LCHlch(21.18, 38.30, 291.37°)
OKLaboklab(32.56% -0.0049 -0.1024)
OKLCHoklch(32.56% 0.103 267.3)
XYZxyz(4.0210, 3.2933, 13.5178)
Luminance0.0329 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2F68 #68561D
analogous
#1D5468 #1D2F68 #301D68
triadic
#1D2F68 #681D2F #2F681D
tetradic
#1D2F68 #681D54 #68561D #1D6830
square
#1D2F68 #681D54 #68561D #1D6830
split-complementary
#1D2F68 #68301D #54681D
monochromatic
#070B18 #101938 #1D2F68 #2A4598 #385AC7

Accessibility & contrast

On white

12.66
#1D2F68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#1D2F68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2F68
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2F68#FFFFFF#000000##FFFFFF
##1D2F681.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B366A
Deuteranopia (green-blind)
#003067
Tritanopia (blue-blind)
#003D46
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1d2f68;
/* rgb */ color: rgb(29, 47, 104);
/* oklch */ color: oklch(32.6% 0.103 267.3);
Tailwind
colors: {
  custom: {
    50: '#636794',
    500: '#1d2f68',
    950: '#000000',
  },
}
SCSS
$custom: #1d2f68;
$custom-light: #636794;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2f68",
  "rgb": {
    "r": 29,
    "g": 47,
    "b": 104
  },
  "hsl": {
    "h": 225.6,
    "s": 56.391,
    "l": 26.078
  },
  "oklch": {
    "l": 0.32563,
    "c": 0.10256,
    "h": 267.3
  },
  "luminance": 0.03294
}

Semantic roles & 50–950 ramp

primary
#1D2F68
secondary
#9D8744
accent
#BB48E0
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #1D2F68

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

Preview Lab → · Contrast checker → · Palette generator →

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