#030F39#030F39

#030F39 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.3% C 0.084 H 264.7°. Best body text is #FFFFFF at 18.56:1 contrast (WCAG AA passes).

Color values

HEX#030F39
RGBrgb(3, 15, 57)
HSLhsl(227, 90%, 12%)
HSVhsv(227, 95%, 22%)
CMYKcmyk(94.7%, 73.7%, 0%, 77.6%)
CIE-LABlab(5.93, 13.06, -28.38)
CIE-LCHlch(5.93, 31.24, 294.70°)
OKLaboklab(19.25% -0.0077 -0.0833)
OKLCHoklch(19.25% 0.084 264.7)
XYZxyz(0.9466, 0.6563, 3.9469)
Luminance0.0066 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#030F39 #392D03
analogous
#032A39 #030F39 #120339
triadic
#030F39 #39030F #0F3903
tetradic
#030F39 #39032A #392D03 #033912
square
#030F39 #39032A #392D03 #033912
split-complementary
#030F39 #391203 #2A3903
monochromatic
#02081D #02081D #030F39 #061E73 #092EAD

Accessibility & contrast

On white

18.56
#030F39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#030F39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #030F39
18.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##030F39#FFFFFF#000000##FFFFFF
##030F391.0018.561.1318.56
#FFFFFF18.561.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00163A
Deuteranopia (green-blind)
#001138
Tritanopia (blue-blind)
#001A22
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #030f39;
/* rgb */ color: rgb(3, 15, 57);
/* oklch */ color: oklch(19.3% 0.084 264.7);
Tailwind
colors: {
  custom: {
    50: '#4e4d70',
    500: '#030f39',
    950: '#000000',
  },
}
SCSS
$custom: #030f39;
$custom-light: #4e4d70;
$custom-dark: #000000;
JSON
{
  "hex": "#030f39",
  "rgb": {
    "r": 3,
    "g": 15,
    "b": 57
  },
  "hsl": {
    "h": 226.667,
    "s": 90,
    "l": 11.765
  },
  "oklch": {
    "l": 0.19251,
    "c": 0.08363,
    "h": 264.7
  },
  "luminance": 0.00656
}

Semantic roles & 50–950 ramp

primary
#030F39
secondary
#7C661C
accent
#CF29FF
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #030F39

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

Preview Lab → · Contrast checker → · Palette generator →

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