#03113A#03113A

#03113A is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.8% C 0.082 H 263.8°. Best body text is #FFFFFF at 18.34:1 contrast (WCAG AA passes).

Color values

HEX#03113A
RGBrgb(3, 17, 58)
HSLhsl(225, 90%, 12%)
HSVhsv(225, 95%, 23%)
CMYKcmyk(94.8%, 70.7%, 0%, 77.3%)
CIE-LABlab(6.55, 12.40, -28.09)
CIE-LCHlch(6.55, 30.70, 293.81°)
OKLaboklab(19.83% -0.0089 -0.0818)
OKLCHoklch(19.83% 0.082 263.8)
XYZxyz(1.0014, 0.7256, 4.0894)
Luminance0.0073 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#03113A #3A2C03
analogous
#032D3A #03113A #11033A
triadic
#03113A #3A0311 #113A03
tetradic
#03113A #3A032D #3A2C03 #033A11
square
#03113A #3A032D #3A2C03 #033A11
split-complementary
#03113A #3A1103 #2D3A03
monochromatic
#02091D #02091D #03113A #062274 #0933AE

Accessibility & contrast

On white

18.34
#03113A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#03113A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #03113A
18.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##03113A#FFFFFF#000000##FFFFFF
##03113A1.0018.341.1518.34
#FFFFFF18.341.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173B
Deuteranopia (green-blind)
#001239
Tritanopia (blue-blind)
#001C23
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #03113a;
/* rgb */ color: rgb(3, 17, 58);
/* oklch */ color: oklch(19.8% 0.082 263.8);
Tailwind
colors: {
  custom: {
    50: '#4e4e71',
    500: '#03113a',
    950: '#000000',
  },
}
SCSS
$custom: #03113a;
$custom-light: #4e4e71;
$custom-dark: #000000;
JSON
{
  "hex": "#03113a",
  "rgb": {
    "r": 3,
    "g": 17,
    "b": 58
  },
  "hsl": {
    "h": 224.727,
    "s": 90.164,
    "l": 11.961
  },
  "oklch": {
    "l": 0.19834,
    "c": 0.0823,
    "h": 263.8
  },
  "luminance": 0.00726
}

Semantic roles & 50–950 ramp

primary
#03113A
secondary
#7D641C
accent
#C829FF
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #03113A

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

Preview Lab → · Contrast checker → · Palette generator →

#03113A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva