#030F3A#030F3A

#030F3A is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.4% C 0.085 H 264.8°. Best body text is #FFFFFF at 18.53:1 contrast (WCAG AA passes).

Color values

HEX#030F3A
RGBrgb(3, 15, 58)
HSLhsl(227, 90%, 12%)
HSVhsv(227, 95%, 23%)
CMYKcmyk(94.8%, 74.1%, 0%, 77.3%)
CIE-LABlab(6.02, 13.61, -28.96)
CIE-LCHlch(6.02, 32.00, 295.17°)
OKLaboklab(19.37% -0.0077 -0.0849)
OKLCHoklch(19.37% 0.085 264.8)
XYZxyz(0.9718, 0.6664, 4.0796)
Luminance0.0067 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#030F3A #3A2E03
analogous
#032B3A #030F3A #13033A
triadic
#030F3A #3A030F #0F3A03
tetradic
#030F3A #3A032B #3A2E03 #033A13
square
#030F3A #3A032B #3A2E03 #033A13
split-complementary
#030F3A #3A1303 #2B3A03
monochromatic
#02081D #02081D #030F3A #061E74 #092DAE

Accessibility & contrast

On white

18.53
#030F3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #030F3A
18.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##030F3A#FFFFFF#000000##FFFFFF
##030F3A1.0018.531.1318.53
#FFFFFF18.531.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #030f3a;
/* rgb */ color: rgb(3, 15, 58);
/* oklch */ color: oklch(19.4% 0.085 264.8);
Tailwind
colors: {
  custom: {
    50: '#4e4d71',
    500: '#030f3a',
    950: '#000000',
  },
}
SCSS
$custom: #030f3a;
$custom-light: #4e4d71;
$custom-dark: #000000;
JSON
{
  "hex": "#030f3a",
  "rgb": {
    "r": 3,
    "g": 15,
    "b": 58
  },
  "hsl": {
    "h": 226.909,
    "s": 90.164,
    "l": 11.961
  },
  "oklch": {
    "l": 0.19367,
    "c": 0.08521,
    "h": 264.8
  },
  "luminance": 0.00666
}

Semantic roles & 50–950 ramp

primary
#030F3A
secondary
#7D681C
accent
#D029FF
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #030F3A

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

Preview Lab → · Contrast checker → · Palette generator →

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