#030C4E#030C4E

#030C4E is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 21.3% C 0.118 H 265.9°. Best body text is #FFFFFF at 18.00:1 contrast (WCAG AA passes).

Color values

HEX#030C4E
RGBrgb(3, 12, 78)
HSLhsl(233, 93%, 16%)
HSVhsv(233, 96%, 31%)
CMYKcmyk(96.2%, 84.6%, 0%, 69.4%)
CIE-LABlab(7.52, 25.26, -40.65)
CIE-LCHlch(7.52, 47.86, 301.85°)
OKLaboklab(21.32% -0.0084 -0.1179)
OKLCHoklch(21.32% 0.118 265.9)
XYZxyz(1.5437, 0.8322, 7.2855)
Luminance0.0083 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#030C4E #4E4503
analogous
#03314E #030C4E #1F034E
triadic
#030C4E #4E030C #0C4E03
tetradic
#030C4E #4E0331 #4E4503 #034E1F
square
#030C4E #4E0331 #4E4503 #034E1F
split-complementary
#030C4E #4E1F03 #314E03
monochromatic
#01051D #01051D #030C4E #051589 #081EC4

Accessibility & contrast

On white

18.00
#030C4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#030C4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #030C4E
18.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##030C4E#FFFFFF#000000##FFFFFF
##030C4E1.0018.001.1718.00
#FFFFFF18.001.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A50
Deuteranopia (green-blind)
#00134D
Tritanopia (blue-blind)
#00202C
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #030c4e;
/* rgb */ color: rgb(3, 12, 78);
/* oklch */ color: oklch(21.3% 0.118 265.9);
Tailwind
colors: {
  custom: {
    50: '#564b80',
    500: '#030c4e',
    950: '#000000',
  },
}
SCSS
$custom: #030c4e;
$custom-light: #564b80;
$custom-dark: #000000;
JSON
{
  "hex": "#030c4e",
  "rgb": {
    "r": 3,
    "g": 12,
    "b": 78
  },
  "hsl": {
    "h": 232.8,
    "s": 92.593,
    "l": 15.882
  },
  "oklch": {
    "l": 0.21315,
    "c": 0.11823,
    "h": 265.9
  },
  "luminance": 0.00832
}

Semantic roles & 50–950 ramp

primary
#030C4E
secondary
#8E811E
accent
#E529FF
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04010A
muted
#79777C

Preview Lab

Preview with #030C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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