#1D3F94#1D3F94

#1D3F94 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.8% C 0.146 H 264.2°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#1D3F94
RGBrgb(29, 63, 148)
HSLhsl(223, 67%, 35%)
HSVhsv(223, 80%, 58%)
CMYKcmyk(80.4%, 57.4%, 0%, 42%)
CIE-LABlab(29.29, 20.43, -50.23)
CIE-LCHlch(29.29, 54.22, 292.14°)
OKLaboklab(39.78% -0.0146 -0.145)
OKLCHoklch(39.78% 0.146 264.2)
XYZxyz(7.6276, 5.9535, 28.7584)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3F94 #94721D
analogous
#1D7B94 #1D3F94 #361D94
triadic
#1D3F94 #941D3F #3F941D
tetradic
#1D3F94 #941D7B #94721D #1D9436
square
#1D3F94 #941D7B #94721D #1D9436
split-complementary
#1D3F94 #94361D #7B941D
monochromatic
#09132E #132961 #1D3F94 #2755C7 #4F77DC

Accessibility & contrast

On white

9.59
#1D3F94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#1D3F94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3F94
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3F94#FFFFFF#000000##FFFFFF
##1D3F941.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B97
Deuteranopia (green-blind)
#004092
Tritanopia (blue-blind)
#005463
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1d3f94;
/* rgb */ color: rgb(29, 63, 148);
/* oklch */ color: oklch(39.8% 0.146 264.2);
Tailwind
colors: {
  custom: {
    50: '#6d73b4',
    500: '#1d3f94',
    950: '#000000',
  },
}
SCSS
$custom: #1d3f94;
$custom-light: #6d73b4;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3f94",
  "rgb": {
    "r": 29,
    "g": 63,
    "b": 148
  },
  "hsl": {
    "h": 222.857,
    "s": 67.232,
    "l": 34.706
  },
  "oklch": {
    "l": 0.39785,
    "c": 0.14572,
    "h": 264.2
  },
  "luminance": 0.05954
}

Semantic roles & 50–950 ramp

primary
#1D3F94
secondary
#BF9F4E
accent
#B93EEA
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1D3F94

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

Preview Lab → · Contrast checker → · Palette generator →

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