#03114E#03114E

#03114E is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.2% C 0.112 H 265.1°. Best body text is #FFFFFF at 17.59:1 contrast (WCAG AA passes).

Color values

HEX#03114E
RGBrgb(3, 17, 78)
HSLhsl(229, 93%, 16%)
HSVhsv(229, 96%, 31%)
CMYKcmyk(96.2%, 78.2%, 0%, 69.4%)
CIE-LABlab(8.74, 21.84, -38.63)
CIE-LCHlch(8.74, 44.37, 299.49°)
OKLaboklab(22.2% -0.0096 -0.112)
OKLCHoklch(22.2% 0.112 265.1)
XYZxyz(1.6127, 0.9701, 7.3085)
Luminance0.0097 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#03114E #4E4003
analogous
#03364E #03114E #1A034E
triadic
#03114E #4E0311 #114E03
tetradic
#03114E #4E0336 #4E4003 #034E1A
square
#03114E #4E0336 #4E4003 #034E1A
split-complementary
#03114E #4E1A03 #364E03
monochromatic
#01061D #01061D #03114E #051E89 #082BC4

Accessibility & contrast

On white

17.59
#03114E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#03114E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #03114E
17.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##03114E#FFFFFF#000000##FFFFFF
##03114E1.0017.591.1917.59
#FFFFFF17.591.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D50
Deuteranopia (green-blind)
#00154D
Tritanopia (blue-blind)
#00222E
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #03114e;
/* rgb */ color: rgb(3, 17, 78);
/* oklch */ color: oklch(22.2% 0.112 265.1);
Tailwind
colors: {
  custom: {
    50: '#564f80',
    500: '#03114e',
    950: '#000000',
  },
}
SCSS
$custom: #03114e;
$custom-light: #564f80;
$custom-dark: #000000;
JSON
{
  "hex": "#03114e",
  "rgb": {
    "r": 3,
    "g": 17,
    "b": 78
  },
  "hsl": {
    "h": 228.8,
    "s": 92.593,
    "l": 15.882
  },
  "oklch": {
    "l": 0.22198,
    "c": 0.11246,
    "h": 265.1
  },
  "luminance": 0.0097
}

Semantic roles & 50–950 ramp

primary
#03114E
secondary
#8E791E
accent
#D729FF
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04010A
muted
#79777C

Preview Lab

Preview with #03114E

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

Preview Lab → · Contrast checker → · Palette generator →

#03114E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva