#030D40#030D40

#030D40 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.7% C 0.097 H 265.8°. Best body text is #FFFFFF at 18.50:1 contrast (WCAG AA passes).

Color values

HEX#030D40
RGBrgb(3, 13, 64)
HSLhsl(230, 91%, 13%)
HSVhsv(230, 95%, 25%)
CMYKcmyk(95.3%, 79.7%, 0%, 74.9%)
CIE-LABlab(6.12, 17.99, -33.11)
CIE-LCHlch(6.12, 37.68, 298.52°)
OKLaboklab(19.67% -0.0071 -0.0969)
OKLCHoklch(19.67% 0.097 265.8)
XYZxyz(1.1066, 0.6772, 4.9219)
Luminance0.0068 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#030D40 #403603
analogous
#032B40 #030D40 #170340
triadic
#030D40 #40030D #0D4003
tetradic
#030D40 #40032B #403603 #034017
square
#030D40 #40032B #403603 #034017
split-complementary
#030D40 #401703 #2B4003
monochromatic
#01061D #01061D #030D40 #06197A #0825B5

Accessibility & contrast

On white

18.50
#030D40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#030D40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #030D40
18.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##030D40#FFFFFF#000000##FFFFFF
##030D401.0018.501.1418.50
#FFFFFF18.501.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001742
Deuteranopia (green-blind)
#00113F
Tritanopia (blue-blind)
#001B25
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #030d40;
/* rgb */ color: rgb(3, 13, 64);
/* oklch */ color: oklch(19.7% 0.097 265.8);
Tailwind
colors: {
  custom: {
    50: '#514c75',
    500: '#030d40',
    950: '#000000',
  },
}
SCSS
$custom: #030d40;
$custom-light: #514c75;
$custom-dark: #000000;
JSON
{
  "hex": "#030d40",
  "rgb": {
    "r": 3,
    "g": 13,
    "b": 64
  },
  "hsl": {
    "h": 230.164,
    "s": 91.045,
    "l": 13.137
  },
  "oklch": {
    "l": 0.19666,
    "c": 0.09714,
    "h": 265.8
  },
  "luminance": 0.00677
}

Semantic roles & 50–950 ramp

primary
#030D40
secondary
#82711D
accent
#DC29FF
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#020108
muted
#78777B

Preview Lab

Preview with #030D40

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

Preview Lab → · Contrast checker → · Palette generator →

#030D40 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva