#1D348A#1D348A

#1D348A is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.6% C 0.146 H 267.1°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#1D348A
RGBrgb(29, 52, 138)
HSLhsl(227, 65%, 33%)
HSVhsv(227, 79%, 54%)
CMYKcmyk(79%, 62.3%, 0%, 45.9%)
CIE-LABlab(25.42, 24.05, -50.38)
CIE-LCHlch(25.42, 55.82, 295.52°)
OKLaboklab(36.62% -0.0073 -0.1456)
OKLCHoklch(36.62% 0.146 267.1)
XYZxyz(6.3205, 4.5515, 24.5852)
Luminance0.0455 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D348A #8A731D
analogous
#1D6B8A #1D348A #3C1D8A
triadic
#1D348A #8A1D34 #348A1D
tetradic
#1D348A #8A1D6B #8A731D #1D8A3C
square
#1D348A #8A1D6B #8A731D #1D8A3C
split-complementary
#1D348A #8A3C1D #6B8A1D
monochromatic
#080E25 #122157 #1D348A #2847BD #4967D9

Accessibility & contrast

On white

10.99
#1D348A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#1D348A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D348A
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D348A#FFFFFF#000000##FFFFFF
##1D348A1.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418D
Deuteranopia (green-blind)
#003788
Tritanopia (blue-blind)
#004A59
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1d348a;
/* rgb */ color: rgb(29, 52, 138);
/* oklch */ color: oklch(36.6% 0.146 267.1);
Tailwind
colors: {
  custom: {
    50: '#6c6bad',
    500: '#1d348a',
    950: '#000000',
  },
}
SCSS
$custom: #1d348a;
$custom-light: #6c6bad;
$custom-dark: #000000;
JSON
{
  "hex": "#1d348a",
  "rgb": {
    "r": 29,
    "g": 52,
    "b": 138
  },
  "hsl": {
    "h": 227.339,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.36621,
    "c": 0.14579,
    "h": 267.1
  },
  "luminance": 0.04552
}

Semantic roles & 50–950 ramp

primary
#1D348A
secondary
#BBA348
accent
#C540E8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #1D348A

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

Preview Lab → · Contrast checker → · Palette generator →

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