#03112D#03112D

#03112D is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.5% C 0.061 H 260.4°. Best body text is #FFFFFF at 18.72:1 contrast (WCAG AA passes).

Color values

HEX#03112D
RGBrgb(3, 17, 45)
HSLhsl(220, 88%, 9%)
HSVhsv(220, 93%, 18%)
CMYKcmyk(93.3%, 62.2%, 0%, 82.4%)
CIE-LABlab(5.51, 5.41, -20.23)
CIE-LCHlch(5.51, 20.94, 284.97°)
OKLaboklab(18.48% -0.0101 -0.0598)
OKLCHoklch(18.48% 0.061 260.4)
XYZxyz(0.7115, 0.6096, 2.5623)
Luminance0.0061 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#03112D #2D1F03
analogous
#03262D #03112D #0A032D
triadic
#03112D #2D0311 #112D03
tetradic
#03112D #2D0326 #2D1F03 #032D0A
square
#03112D #2D0326 #2D1F03 #032D0A
split-complementary
#03112D #2D0A03 #262D03
monochromatic
#020B1D #020B1D #03112D #072766 #0B3CA0

Accessibility & contrast

On white

18.72
#03112D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #03112D
18.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##03112D#FFFFFF#000000##FFFFFF
##03112D1.0018.721.1218.72
#FFFFFF18.721.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #03112d;
/* rgb */ color: rgb(3, 17, 45);
/* oklch */ color: oklch(18.5% 0.061 260.4);
Tailwind
colors: {
  custom: {
    50: '#494f66',
    500: '#03112d',
    950: '#000000',
  },
}
SCSS
$custom: #03112d;
$custom-light: #494f66;
$custom-dark: #000000;
JSON
{
  "hex": "#03112d",
  "rgb": {
    "r": 3,
    "g": 17,
    "b": 45
  },
  "hsl": {
    "h": 220,
    "s": 87.5,
    "l": 9.412
  },
  "oklch": {
    "l": 0.18481,
    "c": 0.06069,
    "h": 260.4
  },
  "luminance": 0.0061
}

Semantic roles & 50–950 ramp

primary
#03112D
secondary
#71541B
accent
#B72AFE
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #03112D

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

Preview Lab → · Contrast checker → · Palette generator →

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