#03123A#03123A

#03123A is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.1% C 0.081 H 263.2°. Best body text is #FFFFFF at 18.24:1 contrast (WCAG AA passes).

Color values

HEX#03123A
RGBrgb(3, 18, 58)
HSLhsl(224, 90%, 12%)
HSVhsv(224, 95%, 23%)
CMYKcmyk(94.8%, 69%, 0%, 77.3%)
CIE-LABlab(6.84, 11.74, -27.63)
CIE-LCHlch(6.84, 30.02, 293.02°)
OKLaboklab(20.08% -0.0096 -0.0802)
OKLCHoklch(20.08% 0.081 263.2)
XYZxyz(1.0173, 0.7573, 4.0947)
Luminance0.0076 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#03123A #3A2B03
analogous
#032E3A #03123A #0F033A
triadic
#03123A #3A0312 #123A03
tetradic
#03123A #3A032E #3A2B03 #033A0F
square
#03123A #3A032E #3A2B03 #033A0F
split-complementary
#03123A #3A0F03 #2E3A03
monochromatic
#02091D #02091D #03123A #062474 #0936AE

Accessibility & contrast

On white

18.24
#03123A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #03123A
18.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##03123A#FFFFFF#000000##FFFFFF
##03123A1.0018.241.1518.24
#FFFFFF18.241.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #03123a;
/* rgb */ color: rgb(3, 18, 58);
/* oklch */ color: oklch(20.1% 0.081 263.2);
Tailwind
colors: {
  custom: {
    50: '#4e4f71',
    500: '#03123a',
    950: '#000000',
  },
}
SCSS
$custom: #03123a;
$custom-light: #4e4f71;
$custom-dark: #000000;
JSON
{
  "hex": "#03123a",
  "rgb": {
    "r": 3,
    "g": 18,
    "b": 58
  },
  "hsl": {
    "h": 223.636,
    "s": 90.164,
    "l": 11.961
  },
  "oklch": {
    "l": 0.20075,
    "c": 0.08082,
    "h": 263.2
  },
  "luminance": 0.00757
}

Semantic roles & 50–950 ramp

primary
#03123A
secondary
#7D621C
accent
#C529FF
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #03123A

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

Preview Lab → · Contrast checker → · Palette generator →

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