#03102E#03102E

#03102E is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.3% C 0.064 H 261.8°. Best body text is #FFFFFF at 18.79:1 contrast (WCAG AA passes).

Color values

HEX#03102E
RGBrgb(3, 16, 46)
HSLhsl(222, 88%, 10%)
HSVhsv(222, 93%, 18%)
CMYKcmyk(93.5%, 65.2%, 0%, 82%)
CIE-LABlab(5.30, 6.46, -21.30)
CIE-LCHlch(5.30, 22.26, 286.88°)
OKLaboklab(18.31% -0.0091 -0.0633)
OKLCHoklch(18.31% 0.064 261.8)
XYZxyz(0.7158, 0.5871, 2.6598)
Luminance0.0059 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#03102E #2E2103
analogous
#03262E #03102E #0B032E
triadic
#03102E #2E0310 #102E03
tetradic
#03102E #2E0326 #2E2103 #032E0B
square
#03102E #2E0326 #2E2103 #032E0B
split-complementary
#03102E #2E0B03 #262E03
monochromatic
#020A1D #020A1D #03102E #072467 #0A38A1

Accessibility & contrast

On white

18.79
#03102E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#03102E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #03102E
18.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##03102E#FFFFFF#000000##FFFFFF
##03102E1.0018.791.1218.79
#FFFFFF18.791.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00142F
Deuteranopia (green-blind)
#00102D
Tritanopia (blue-blind)
#00171C
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #03102e;
/* rgb */ color: rgb(3, 16, 46);
/* oklch */ color: oklch(18.3% 0.064 261.8);
Tailwind
colors: {
  custom: {
    50: '#4a4e67',
    500: '#03102e',
    950: '#000000',
  },
}
SCSS
$custom: #03102e;
$custom-light: #4a4e67;
$custom-dark: #000000;
JSON
{
  "hex": "#03102e",
  "rgb": {
    "r": 3,
    "g": 16,
    "b": 46
  },
  "hsl": {
    "h": 221.86,
    "s": 87.755,
    "l": 9.608
  },
  "oklch": {
    "l": 0.18309,
    "c": 0.06397,
    "h": 261.8
  },
  "luminance": 0.00587
}

Semantic roles & 50–950 ramp

primary
#03102E
secondary
#72571B
accent
#BE2AFE
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #03102E

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

Preview Lab → · Contrast checker → · Palette generator →

#03102E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva