#1D348B#1D348B

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

Color values

HEX#1D348B
RGBrgb(29, 52, 139)
HSLhsl(227, 65%, 33%)
HSVhsv(227, 79%, 55%)
CMYKcmyk(79.1%, 62.6%, 0%, 45.5%)
CIE-LABlab(25.50, 24.44, -50.86)
CIE-LCHlch(25.50, 56.43, 295.67°)
OKLaboklab(36.71% -0.0073 -0.147)
OKLCHoklch(36.71% 0.147 267.2)
XYZxyz(6.3933, 4.5806, 24.9683)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D348B #8B741D
analogous
#1D6B8B #1D348B #3D1D8B
triadic
#1D348B #8B1D34 #348B1D
tetradic
#1D348B #8B1D6B #8B741D #1D8B3D
square
#1D348B #8B1D6B #8B741D #1D8B3D
split-complementary
#1D348B #8B3D1D #6B8B1D
monochromatic
#080E26 #122158 #1D348B #2847BE #4967D9

Accessibility & contrast

On white

10.96
#1D348B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#1D348B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D348B
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D348B#FFFFFF#000000##FFFFFF
##1D348B1.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428E
Deuteranopia (green-blind)
#003789
Tritanopia (blue-blind)
#004A5A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1d348b;
/* rgb */ color: rgb(29, 52, 139);
/* oklch */ color: oklch(36.7% 0.147 267.2);
Tailwind
colors: {
  custom: {
    50: '#6c6bae',
    500: '#1d348b',
    950: '#000000',
  },
}
SCSS
$custom: #1d348b;
$custom-light: #6c6bae;
$custom-dark: #000000;
JSON
{
  "hex": "#1d348b",
  "rgb": {
    "r": 29,
    "g": 52,
    "b": 139
  },
  "hsl": {
    "h": 227.455,
    "s": 65.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.36713,
    "c": 0.14719,
    "h": 267.2
  },
  "luminance": 0.04581
}

Semantic roles & 50–950 ramp

primary
#1D348B
secondary
#BBA349
accent
#C53FE8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #1D348B

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

Preview Lab → · Contrast checker → · Palette generator →

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