#03112F#03112F

#03112F is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.7% C 0.064 H 261.2°. Best body text is #FFFFFF at 18.67:1 contrast (WCAG AA passes).

Color values

HEX#03112F
RGBrgb(3, 17, 47)
HSLhsl(221, 88%, 10%)
HSVhsv(221, 94%, 18%)
CMYKcmyk(93.6%, 63.8%, 0%, 81.6%)
CIE-LABlab(5.65, 6.41, -21.49)
CIE-LCHlch(5.65, 22.43, 286.61°)
OKLaboklab(18.68% -0.0098 -0.0634)
OKLCHoklch(18.68% 0.064 261.2)
XYZxyz(0.7509, 0.6254, 2.7699)
Luminance0.0063 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#03112F #2F2103
analogous
#03272F #03112F #0B032F
triadic
#03112F #2F0311 #112F03
tetradic
#03112F #2F0327 #2F2103 #032F0B
square
#03112F #2F0327 #2F2103 #032F0B
split-complementary
#03112F #2F0B03 #272F03
monochromatic
#020A1D #020A1D #03112F #072669 #0A3BA2

Accessibility & contrast

On white

18.67
#03112F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #03112F
18.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##03112F#FFFFFF#000000##FFFFFF
##03112F1.0018.671.1318.67
#FFFFFF18.671.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #03112f;
/* rgb */ color: rgb(3, 17, 47);
/* oklch */ color: oklch(18.7% 0.064 261.2);
Tailwind
colors: {
  custom: {
    50: '#4a4f68',
    500: '#03112f',
    950: '#000000',
  },
}
SCSS
$custom: #03112f;
$custom-light: #4a4f68;
$custom-dark: #000000;
JSON
{
  "hex": "#03112f",
  "rgb": {
    "r": 3,
    "g": 17,
    "b": 47
  },
  "hsl": {
    "h": 220.909,
    "s": 88,
    "l": 9.804
  },
  "oklch": {
    "l": 0.18677,
    "c": 0.06412,
    "h": 261.2
  },
  "luminance": 0.00625
}

Semantic roles & 50–950 ramp

primary
#03112F
secondary
#73571B
accent
#BB2AFE
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #03112F

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

Preview Lab → · Contrast checker → · Palette generator →

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