#1D307C#1D307C

#1D307C is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.5% C 0.131 H 268.0°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#1D307C
RGBrgb(29, 48, 124)
HSLhsl(228, 62%, 30%)
HSVhsv(228, 77%, 49%)
CMYKcmyk(76.6%, 61.3%, 0%, 51.4%)
CIE-LABlab(23.10, 21.28, -45.38)
CIE-LCHlch(23.10, 50.12, 295.13°)
OKLaboklab(34.52% -0.0046 -0.131)
OKLCHoklch(34.52% 0.131 268)
XYZxyz(5.2005, 3.8298, 19.5300)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D307C #7C691D
analogous
#1D607C #1D307C #391D7C
triadic
#1D307C #7C1D30 #307C1D
tetradic
#1D307C #7C1D60 #7C691D #1D7C39
square
#1D307C #7C1D60 #7C691D #1D7C39
split-complementary
#1D307C #7C391D #607C1D
monochromatic
#060A19 #111D4A #1D307C #2943AE #415ED3

Accessibility & contrast

On white

11.89
#1D307C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#1D307C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D307C
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D307C#FFFFFF#000000##FFFFFF
##1D307C1.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7F
Deuteranopia (green-blind)
#00337B
Tritanopia (blue-blind)
#004351
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1d307c;
/* rgb */ color: rgb(29, 48, 124);
/* oklch */ color: oklch(34.5% 0.131 268.0);
Tailwind
colors: {
  custom: {
    50: '#6868a3',
    500: '#1d307c',
    950: '#000000',
  },
}
SCSS
$custom: #1d307c;
$custom-light: #6868a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1d307c",
  "rgb": {
    "r": 29,
    "g": 48,
    "b": 124
  },
  "hsl": {
    "h": 228,
    "s": 62.092,
    "l": 30
  },
  "oklch": {
    "l": 0.34518,
    "c": 0.13106,
    "h": 268
  },
  "luminance": 0.0383
}

Semantic roles & 50–950 ramp

primary
#1D307C
secondary
#B09A45
accent
#C543E5
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1D307C

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

Preview Lab → · Contrast checker → · Palette generator →

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