#03102F#03102F

#03102F is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.4% C 0.066 H 262.2°. Best body text is #FFFFFF at 18.77:1 contrast (WCAG AA passes).

Color values

HEX#03102F
RGBrgb(3, 16, 47)
HSLhsl(222, 88%, 10%)
HSVhsv(222, 94%, 18%)
CMYKcmyk(93.6%, 66%, 0%, 81.6%)
CIE-LABlab(5.38, 6.97, -21.93)
CIE-LCHlch(5.38, 23.01, 287.62°)
OKLaboklab(18.41% -0.009 -0.065)
OKLCHoklch(18.41% 0.066 262.2)
XYZxyz(0.7357, 0.5951, 2.7649)
Luminance0.0060 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#03102F #2F2203
analogous
#03262F #03102F #0C032F
triadic
#03102F #2F0310 #102F03
tetradic
#03102F #2F0326 #2F2203 #032F0C
square
#03102F #2F0326 #2F2203 #032F0C
split-complementary
#03102F #2F0C03 #262F03
monochromatic
#020A1D #020A1D #03102F #072469 #0A37A2

Accessibility & contrast

On white

18.77
#03102F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #03102F
18.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##03102F#FFFFFF#000000##FFFFFF
##03102F1.0018.771.1218.77
#FFFFFF18.771.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001430
Deuteranopia (green-blind)
#00102E
Tritanopia (blue-blind)
#00181D
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #03102f;
/* rgb */ color: rgb(3, 16, 47);
/* oklch */ color: oklch(18.4% 0.066 262.2);
Tailwind
colors: {
  custom: {
    50: '#4a4e68',
    500: '#03102f',
    950: '#000000',
  },
}
SCSS
$custom: #03102f;
$custom-light: #4a4e68;
$custom-dark: #000000;
JSON
{
  "hex": "#03102f",
  "rgb": {
    "r": 3,
    "g": 16,
    "b": 47
  },
  "hsl": {
    "h": 222.273,
    "s": 88,
    "l": 9.804
  },
  "oklch": {
    "l": 0.1841,
    "c": 0.06566,
    "h": 262.2
  },
  "luminance": 0.00595
}

Semantic roles & 50–950 ramp

primary
#03102F
secondary
#73591B
accent
#BF2AFE
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #03102F

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

Preview Lab → · Contrast checker → · Palette generator →

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