#1D348F#1D348F

#1D348F is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.1% C 0.153 H 267.3°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#1D348F
RGBrgb(29, 52, 143)
HSLhsl(228, 66%, 34%)
HSVhsv(228, 80%, 56%)
CMYKcmyk(79.7%, 63.6%, 0%, 43.9%)
CIE-LABlab(25.86, 26.02, -52.75)
CIE-LCHlch(25.86, 58.82, 296.25°)
OKLaboklab(37.09% -0.0073 -0.1526)
OKLCHoklch(37.09% 0.153 267.3)
XYZxyz(6.6909, 4.6996, 26.5358)
Luminance0.0470 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D348F #8F781D
analogous
#1D6D8F #1D348F #3F1D8F
triadic
#1D348F #8F1D34 #348F1D
tetradic
#1D348F #8F1D6D #8F781D #1D8F3F
square
#1D348F #8F1D6D #8F781D #1D8F3F
split-complementary
#1D348F #8F3F1D #6D8F1D
monochromatic
#080F29 #13215C #1D348F #2747C2 #4C69DB

Accessibility & contrast

On white

10.82
#1D348F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#1D348F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D348F
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D348F#FFFFFF#000000##FFFFFF
##1D348F1.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004392
Deuteranopia (green-blind)
#00388D
Tritanopia (blue-blind)
#004C5C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1d348f;
/* rgb */ color: rgb(29, 52, 143);
/* oklch */ color: oklch(37.1% 0.153 267.3);
Tailwind
colors: {
  custom: {
    50: '#6d6bb1',
    500: '#1d348f',
    950: '#000000',
  },
}
SCSS
$custom: #1d348f;
$custom-light: #6d6bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#1d348f",
  "rgb": {
    "r": 29,
    "g": 52,
    "b": 143
  },
  "hsl": {
    "h": 227.895,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.37088,
    "c": 0.15274,
    "h": 267.3
  },
  "luminance": 0.047
}

Semantic roles & 50–950 ramp

primary
#1D348F
secondary
#BDA64B
accent
#C73FE9
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #1D348F

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

Preview Lab → · Contrast checker → · Palette generator →

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