#03112C#03112C

#03112C is a very dark, muted blue. Relative luminance 0.006; OKLCH L 18.4% C 0.059 H 259.9°. Best body text is #FFFFFF at 18.74:1 contrast (WCAG AA passes).

Color values

HEX#03112C
RGBrgb(3, 17, 44)
HSLhsl(220, 87%, 9%)
HSVhsv(220, 93%, 17%)
CMYKcmyk(93.2%, 61.4%, 0%, 82.7%)
CIE-LABlab(5.44, 4.93, -19.59)
CIE-LCHlch(5.44, 20.20, 284.12°)
OKLaboklab(18.39% -0.0103 -0.0581)
OKLCHoklch(18.39% 0.059 259.9)
XYZxyz(0.6925, 0.6020, 2.4621)
Luminance0.0060 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#03112C #2C1E03
analogous
#03262C #03112C #0A032C
triadic
#03112C #2C0311 #112C03
tetradic
#03112C #2C0326 #2C1E03 #032C0A
square
#03112C #2C0326 #2C1E03 #032C0A
split-complementary
#03112C #2C0A03 #262C03
monochromatic
#020B1D #020B1D #03112C #072765 #0B3D9F

Accessibility & contrast

On white

18.74
#03112C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#03112C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #03112C
18.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##03112C#FFFFFF#000000##FFFFFF
##03112C1.0018.741.1218.74
#FFFFFF18.741.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03142D
Deuteranopia (green-blind)
#00102B
Tritanopia (blue-blind)
#00181C
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #03112c;
/* rgb */ color: rgb(3, 17, 44);
/* oklch */ color: oklch(18.4% 0.059 259.9);
Tailwind
colors: {
  custom: {
    50: '#494f65',
    500: '#03112c',
    950: '#000000',
  },
}
SCSS
$custom: #03112c;
$custom-light: #494f65;
$custom-dark: #000000;
JSON
{
  "hex": "#03112c",
  "rgb": {
    "r": 3,
    "g": 17,
    "b": 44
  },
  "hsl": {
    "h": 219.512,
    "s": 87.234,
    "l": 9.216
  },
  "oklch": {
    "l": 0.18385,
    "c": 0.05897,
    "h": 259.9
  },
  "luminance": 0.00602
}

Semantic roles & 50–950 ramp

primary
#03112C
secondary
#70531B
accent
#B52AFD
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010105
muted
#77777A

Preview Lab

Preview with #03112C

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

Preview Lab → · Contrast checker → · Palette generator →

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