#03123F#03123F

#03123F is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.6% C 0.089 H 263.9°. Best body text is #FFFFFF at 18.07:1 contrast (WCAG AA passes).

Color values

HEX#03123F
RGBrgb(3, 18, 63)
HSLhsl(225, 91%, 13%)
HSVhsv(225, 95%, 25%)
CMYKcmyk(95.2%, 71.4%, 0%, 75.3%)
CIE-LABlab(7.32, 14.28, -30.43)
CIE-LCHlch(7.32, 33.61, 295.14°)
OKLaboklab(20.63% -0.0094 -0.0882)
OKLCHoklch(20.63% 0.089 263.9)
XYZxyz(1.1507, 0.8107, 4.7975)
Luminance0.0081 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#03123F #3F3003
analogous
#03303F #03123F #12033F
triadic
#03123F #3F0312 #123F03
tetradic
#03123F #3F0330 #3F3003 #033F12
square
#03123F #3F0330 #3F3003 #033F12
split-complementary
#03123F #3F1203 #303F03
monochromatic
#01081D #01081D #03123F #062379 #0933B4

Accessibility & contrast

On white

18.07
#03123F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#03123F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #03123F
18.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##03123F#FFFFFF#000000##FFFFFF
##03123F1.0018.071.1618.07
#FFFFFF18.071.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001940
Deuteranopia (green-blind)
#00133E
Tritanopia (blue-blind)
#001E26
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #03123f;
/* rgb */ color: rgb(3, 18, 63);
/* oklch */ color: oklch(20.6% 0.089 263.9);
Tailwind
colors: {
  custom: {
    50: '#504f75',
    500: '#03123f',
    950: '#000000',
  },
}
SCSS
$custom: #03123f;
$custom-light: #504f75;
$custom-dark: #000000;
JSON
{
  "hex": "#03123f",
  "rgb": {
    "r": 3,
    "g": 18,
    "b": 63
  },
  "hsl": {
    "h": 225,
    "s": 90.909,
    "l": 12.941
  },
  "oklch": {
    "l": 0.20626,
    "c": 0.08875,
    "h": 263.9
  },
  "luminance": 0.00811
}

Semantic roles & 50–950 ramp

primary
#03123F
secondary
#81681D
accent
#C929FF
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#020108
muted
#78777B

Preview Lab

Preview with #03123F

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

Preview Lab → · Contrast checker → · Palette generator →

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