#1D348D#1D348D

#1D348D is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.9% C 0.150 H 267.2°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#1D348D
RGBrgb(29, 52, 141)
HSLhsl(228, 66%, 33%)
HSVhsv(228, 79%, 55%)
CMYKcmyk(79.4%, 63.1%, 0%, 44.7%)
CIE-LABlab(25.68, 25.23, -51.81)
CIE-LCHlch(25.68, 57.62, 295.97°)
OKLaboklab(36.9% -0.0073 -0.1498)
OKLCHoklch(36.9% 0.15 267.2)
XYZxyz(6.5407, 4.6395, 25.7449)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D348D #8D761D
analogous
#1D6C8D #1D348D #3E1D8D
triadic
#1D348D #8D1D34 #348D1D
tetradic
#1D348D #8D1D6C #8D761D #1D8D3E
square
#1D348D #8D1D6C #8D761D #1D8D3E
split-complementary
#1D348D #8D3E1D #6C8D1D
monochromatic
#080F27 #13215A #1D348D #2747C0 #4B68DA

Accessibility & contrast

On white

10.89
#1D348D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D348D
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D348D#FFFFFF#000000##FFFFFF
##1D348D1.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004290
Deuteranopia (green-blind)
#00388B
Tritanopia (blue-blind)
#004B5B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1d348d;
/* rgb */ color: rgb(29, 52, 141);
/* oklch */ color: oklch(36.9% 0.150 267.2);
Tailwind
colors: {
  custom: {
    50: '#6c6baf',
    500: '#1d348d',
    950: '#000000',
  },
}
SCSS
$custom: #1d348d;
$custom-light: #6c6baf;
$custom-dark: #000000;
JSON
{
  "hex": "#1d348d",
  "rgb": {
    "r": 29,
    "g": 52,
    "b": 141
  },
  "hsl": {
    "h": 227.679,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.369,
    "c": 0.14997,
    "h": 267.2
  },
  "luminance": 0.0464
}

Semantic roles & 50–950 ramp

primary
#1D348D
secondary
#BCA54A
accent
#C63FE9
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #1D348D

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

Preview Lab → · Contrast checker → · Palette generator →

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