#030B38#030B38

#030B38 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 18.3% C 0.088 H 266.3°. Best body text is #FFFFFF at 18.94:1 contrast (WCAG AA passes).

Color values

HEX#030B38
RGBrgb(3, 11, 56)
HSLhsl(231, 90%, 12%)
HSVhsv(231, 95%, 22%)
CMYKcmyk(94.6%, 80.4%, 0%, 78%)
CIE-LABlab(4.91, 14.47, -29.30)
CIE-LCHlch(4.91, 32.68, 296.29°)
OKLaboklab(18.25% -0.0056 -0.0875)
OKLCHoklch(18.25% 0.088 266.3)
XYZxyz(0.8708, 0.5441, 3.7997)
Luminance0.0054 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#030B38 #383003
analogous
#032638 #030B38 #160338
triadic
#030B38 #38030B #0B3803
tetradic
#030B38 #380326 #383003 #033816
square
#030B38 #380326 #383003 #033816
split-complementary
#030B38 #381603 #263803
monochromatic
#02061D #02061D #030B38 #061672 #0922AC

Accessibility & contrast

On white

18.94
#030B38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#030B38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #030B38
18.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##030B38#FFFFFF#000000##FFFFFF
##030B381.0018.941.1118.94
#FFFFFF18.941.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001339
Deuteranopia (green-blind)
#000E37
Tritanopia (blue-blind)
#001820
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #030b38;
/* rgb */ color: rgb(3, 11, 56);
/* oklch */ color: oklch(18.3% 0.088 266.3);
Tailwind
colors: {
  custom: {
    50: '#4d4b6f',
    500: '#030b38',
    950: '#000000',
  },
}
SCSS
$custom: #030b38;
$custom-light: #4d4b6f;
$custom-dark: #000000;
JSON
{
  "hex": "#030b38",
  "rgb": {
    "r": 3,
    "g": 11,
    "b": 56
  },
  "hsl": {
    "h": 230.943,
    "s": 89.831,
    "l": 11.569
  },
  "oklch": {
    "l": 0.18251,
    "c": 0.08767,
    "h": 266.3
  },
  "luminance": 0.00544
}

Semantic roles & 50–950 ramp

primary
#030B38
secondary
#7B6D1C
accent
#DF29FF
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #030B38

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

Preview Lab → · Contrast checker → · Palette generator →

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