#03122F#03122F

#03122F is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 18.9% C 0.063 H 260.1°. Best body text is #FFFFFF at 18.56:1 contrast (WCAG AA passes).

Color values

HEX#03122F
RGBrgb(3, 18, 47)
HSLhsl(220, 88%, 10%)
HSVhsv(220, 94%, 18%)
CMYKcmyk(93.6%, 61.7%, 0%, 81.6%)
CIE-LABlab(5.94, 5.83, -21.04)
CIE-LCHlch(5.94, 21.83, 285.48°)
OKLaboklab(18.95% -0.0107 -0.0616)
OKLCHoklch(18.95% 0.063 260.1)
XYZxyz(0.7668, 0.6571, 2.7752)
Luminance0.0066 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#03122F #2F2003
analogous
#03282F #03122F #0A032F
triadic
#03122F #2F0312 #122F03
tetradic
#03122F #2F0328 #2F2003 #032F0A
square
#03122F #2F0328 #2F2003 #032F0A
split-complementary
#03122F #2F0A03 #282F03
monochromatic
#020B1D #020B1D #03122F #072869 #0A3EA2

Accessibility & contrast

On white

18.56
#03122F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#03122F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #03122F
18.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##03122F#FFFFFF#000000##FFFFFF
##03122F1.0018.561.1318.56
#FFFFFF18.561.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021530
Deuteranopia (green-blind)
#00112E
Tritanopia (blue-blind)
#00191E
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #03122f;
/* rgb */ color: rgb(3, 18, 47);
/* oklch */ color: oklch(18.9% 0.063 260.1);
Tailwind
colors: {
  custom: {
    50: '#4a4f68',
    500: '#03122f',
    950: '#000000',
  },
}
SCSS
$custom: #03122f;
$custom-light: #4a4f68;
$custom-dark: #000000;
JSON
{
  "hex": "#03122f",
  "rgb": {
    "r": 3,
    "g": 18,
    "b": 47
  },
  "hsl": {
    "h": 219.545,
    "s": 88,
    "l": 9.804
  },
  "oklch": {
    "l": 0.18948,
    "c": 0.06257,
    "h": 260.1
  },
  "luminance": 0.00657
}

Semantic roles & 50–950 ramp

primary
#03122F
secondary
#73551B
accent
#B62AFE
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #03122F

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

Preview Lab → · Contrast checker → · Palette generator →

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