#03102C#03102C

#03102C is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.1% C 0.061 H 261.1°. Best body text is #FFFFFF at 18.84:1 contrast (WCAG AA passes).

Color values

HEX#03102C
RGBrgb(3, 16, 44)
HSLhsl(221, 87%, 9%)
HSVhsv(221, 93%, 17%)
CMYKcmyk(93.2%, 63.6%, 0%, 82.7%)
CIE-LABlab(5.16, 5.49, -20.03)
CIE-LCHlch(5.16, 20.76, 285.32°)
OKLaboklab(18.11% -0.0094 -0.0598)
OKLCHoklch(18.11% 0.061 261.1)
XYZxyz(0.6773, 0.5717, 2.4570)
Luminance0.0057 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#03102C #2C1F03
analogous
#03252C #03102C #0B032C
triadic
#03102C #2C0310 #102C03
tetradic
#03102C #2C0325 #2C1F03 #032C0B
square
#03102C #2C0325 #2C1F03 #032C0B
split-complementary
#03102C #2C0B03 #252C03
monochromatic
#020A1D #020A1D #03102C #072565 #0B3A9F

Accessibility & contrast

On white

18.84
#03102C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#03102C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #03102C
18.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##03102C#FFFFFF#000000##FFFFFF
##03102C1.0018.841.1118.84
#FFFFFF18.841.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01132D
Deuteranopia (green-blind)
#000F2B
Tritanopia (blue-blind)
#00171B
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #03102c;
/* rgb */ color: rgb(3, 16, 44);
/* oklch */ color: oklch(18.1% 0.061 261.1);
Tailwind
colors: {
  custom: {
    50: '#494e65',
    500: '#03102c',
    950: '#000000',
  },
}
SCSS
$custom: #03102c;
$custom-light: #494e65;
$custom-dark: #000000;
JSON
{
  "hex": "#03102c",
  "rgb": {
    "r": 3,
    "g": 16,
    "b": 44
  },
  "hsl": {
    "h": 220.976,
    "s": 87.234,
    "l": 9.216
  },
  "oklch": {
    "l": 0.1811,
    "c": 0.06053,
    "h": 261.1
  },
  "luminance": 0.00572
}

Semantic roles & 50–950 ramp

primary
#03102C
secondary
#70551B
accent
#BB2AFD
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010105
muted
#77777A

Preview Lab

Preview with #03102C

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

Preview Lab → · Contrast checker → · Palette generator →

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