#1D348E#1D348E

#1D348E is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.0% C 0.151 H 267.2°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#1D348E
RGBrgb(29, 52, 142)
HSLhsl(228, 66%, 34%)
HSVhsv(228, 80%, 56%)
CMYKcmyk(79.6%, 63.4%, 0%, 44.3%)
CIE-LABlab(25.77, 25.62, -52.28)
CIE-LCHlch(25.77, 58.22, 296.11°)
OKLaboklab(36.99% -0.0073 -0.1512)
OKLCHoklch(36.99% 0.151 267.2)
XYZxyz(6.6155, 4.6694, 26.1386)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D348E #8E771D
analogous
#1D6C8E #1D348E #3E1D8E
triadic
#1D348E #8E1D34 #348E1D
tetradic
#1D348E #8E1D6C #8E771D #1D8E3E
square
#1D348E #8E1D6C #8E771D #1D8E3E
split-complementary
#1D348E #8E3E1D #6C8E1D
monochromatic
#080F28 #13215B #1D348E #2747C1 #4B68DA

Accessibility & contrast

On white

10.86
#1D348E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#1D348E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D348E
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D348E#FFFFFF#000000##FFFFFF
##1D348E1.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004291
Deuteranopia (green-blind)
#00388C
Tritanopia (blue-blind)
#004B5C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1d348e;
/* rgb */ color: rgb(29, 52, 142);
/* oklch */ color: oklch(37.0% 0.151 267.2);
Tailwind
colors: {
  custom: {
    50: '#6d6bb0',
    500: '#1d348e',
    950: '#000000',
  },
}
SCSS
$custom: #1d348e;
$custom-light: #6d6bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#1d348e",
  "rgb": {
    "r": 29,
    "g": 52,
    "b": 142
  },
  "hsl": {
    "h": 227.788,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.36994,
    "c": 0.15136,
    "h": 267.2
  },
  "luminance": 0.0467
}

Semantic roles & 50–950 ramp

primary
#1D348E
secondary
#BDA54A
accent
#C63FE9
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080611
muted
#7B7A80

Preview Lab

Preview with #1D348E

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

Preview Lab → · Contrast checker → · Palette generator →

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