#03103F#03103F

#03103F is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 20.2% C 0.092 H 264.8°. Best body text is #FFFFFF at 18.26:1 contrast (WCAG AA passes).

Color values

HEX#03103F
RGBrgb(3, 16, 63)
HSLhsl(227, 91%, 13%)
HSVhsv(227, 95%, 25%)
CMYKcmyk(95.2%, 74.6%, 0%, 75.3%)
CIE-LABlab(6.76, 15.65, -31.34)
CIE-LCHlch(6.76, 35.03, 296.54°)
OKLaboklab(20.18% -0.0084 -0.0912)
OKLCHoklch(20.18% 0.092 264.8)
XYZxyz(1.1197, 0.7487, 4.7872)
Luminance0.0075 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#03103F #3F3203
analogous
#032E3F #03103F #14033F
triadic
#03103F #3F0310 #103F03
tetradic
#03103F #3F032E #3F3203 #033F14
square
#03103F #3F032E #3F3203 #033F14
split-complementary
#03103F #3F1403 #2E3F03
monochromatic
#01071D #01071D #03103F #061F79 #092EB4

Accessibility & contrast

On white

18.26
#03103F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#03103F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #03103F
18.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##03103F#FFFFFF#000000##FFFFFF
##03103F1.0018.261.1518.26
#FFFFFF18.261.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001840
Deuteranopia (green-blind)
#00123E
Tritanopia (blue-blind)
#001D25
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #03103f;
/* rgb */ color: rgb(3, 16, 63);
/* oklch */ color: oklch(20.2% 0.092 264.8);
Tailwind
colors: {
  custom: {
    50: '#504d75',
    500: '#03103f',
    950: '#000000',
  },
}
SCSS
$custom: #03103f;
$custom-light: #504d75;
$custom-dark: #000000;
JSON
{
  "hex": "#03103f",
  "rgb": {
    "r": 3,
    "g": 16,
    "b": 63
  },
  "hsl": {
    "h": 227,
    "s": 90.909,
    "l": 12.941
  },
  "oklch": {
    "l": 0.20175,
    "c": 0.09158,
    "h": 264.8
  },
  "luminance": 0.00749
}

Semantic roles & 50–950 ramp

primary
#03103F
secondary
#816B1D
accent
#D129FF
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#020108
muted
#78777B

Preview Lab

Preview with #03103F

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

Preview Lab → · Contrast checker → · Palette generator →

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