#030C38#030C38

#030C38 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.5% C 0.086 H 266.0°. Best body text is #FFFFFF at 18.86:1 contrast (WCAG AA passes).

Color values

HEX#030C38
RGBrgb(3, 12, 56)
HSLhsl(230, 90%, 12%)
HSVhsv(230, 95%, 22%)
CMYKcmyk(94.6%, 78.6%, 0%, 78%)
CIE-LABlab(5.13, 14.03, -28.95)
CIE-LCHlch(5.13, 32.17, 295.85°)
OKLaboklab(18.46% -0.0061 -0.0861)
OKLCHoklch(18.46% 0.086 266)
XYZxyz(0.8826, 0.5677, 3.8037)
Luminance0.0057 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#030C38 #382F03
analogous
#032738 #030C38 #150338
triadic
#030C38 #38030C #0C3803
tetradic
#030C38 #380327 #382F03 #033815
square
#030C38 #380327 #382F03 #033815
split-complementary
#030C38 #381503 #273803
monochromatic
#02061D #02061D #030C38 #061872 #0925AC

Accessibility & contrast

On white

18.86
#030C38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #030C38
18.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##030C38#FFFFFF#000000##FFFFFF
##030C381.0018.861.1118.86
#FFFFFF18.861.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #030c38;
/* rgb */ color: rgb(3, 12, 56);
/* oklch */ color: oklch(18.5% 0.086 266.0);
Tailwind
colors: {
  custom: {
    50: '#4d4b6f',
    500: '#030c38',
    950: '#000000',
  },
}
SCSS
$custom: #030c38;
$custom-light: #4d4b6f;
$custom-dark: #000000;
JSON
{
  "hex": "#030c38",
  "rgb": {
    "r": 3,
    "g": 12,
    "b": 56
  },
  "hsl": {
    "h": 229.811,
    "s": 89.831,
    "l": 11.569
  },
  "oklch": {
    "l": 0.18463,
    "c": 0.08631,
    "h": 266
  },
  "luminance": 0.00568
}

Semantic roles & 50–950 ramp

primary
#030C38
secondary
#7B6B1C
accent
#DB29FF
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #030C38

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

Preview Lab → · Contrast checker → · Palette generator →

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