#03104E#03104E

#03104E is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 22.0% C 0.114 H 265.3°. Best body text is #FFFFFF at 17.68:1 contrast (WCAG AA passes).

Color values

HEX#03104E
RGBrgb(3, 16, 78)
HSLhsl(230, 93%, 16%)
HSVhsv(230, 96%, 31%)
CMYKcmyk(96.2%, 79.5%, 0%, 69.4%)
CIE-LABlab(8.48, 22.56, -39.06)
CIE-LCHlch(8.48, 45.10, 300.01°)
OKLaboklab(22.01% -0.0093 -0.1133)
OKLCHoklch(22.01% 0.114 265.3)
XYZxyz(1.5975, 0.9398, 7.3034)
Luminance0.0094 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#03104E #4E4103
analogous
#03354E #03104E #1B034E
triadic
#03104E #4E0310 #104E03
tetradic
#03104E #4E0335 #4E4103 #034E1B
square
#03104E #4E0335 #4E4103 #034E1B
split-complementary
#03104E #4E1B03 #354E03
monochromatic
#01061D #01061D #03104E #051C89 #0828C4

Accessibility & contrast

On white

17.68
#03104E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #03104E
17.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##03104E#FFFFFF#000000##FFFFFF
##03104E1.0017.681.1917.68
#FFFFFF17.681.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C50
Deuteranopia (green-blind)
#00154D
Tritanopia (blue-blind)
#00222D
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #03104e;
/* rgb */ color: rgb(3, 16, 78);
/* oklch */ color: oklch(22.0% 0.114 265.3);
Tailwind
colors: {
  custom: {
    50: '#564e80',
    500: '#03104e',
    950: '#000000',
  },
}
SCSS
$custom: #03104e;
$custom-light: #564e80;
$custom-dark: #000000;
JSON
{
  "hex": "#03104e",
  "rgb": {
    "r": 3,
    "g": 16,
    "b": 78
  },
  "hsl": {
    "h": 229.6,
    "s": 92.593,
    "l": 15.882
  },
  "oklch": {
    "l": 0.2201,
    "c": 0.11368,
    "h": 265.3
  },
  "luminance": 0.0094
}

Semantic roles & 50–950 ramp

primary
#03104E
secondary
#8E7B1E
accent
#DA29FF
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04010A
muted
#79777C

Preview Lab

Preview with #03104E

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

Preview Lab → · Contrast checker → · Palette generator →

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