#03012A#03012A

#03012A is a very dark, moderate blue. Relative luminance 0.002; OKLCH L 13.7% C 0.084 H 271.5°. Best body text is #FFFFFF at 20.16:1 contrast (WCAG AA passes).

Color values

HEX#03012A
RGBrgb(3, 1, 42)
HSLhsl(243, 95%, 8%)
HSVhsv(243, 98%, 16%)
CMYKcmyk(92.9%, 97.6%, 0%, 83.5%)
CIE-LABlab(1.88, 10.99, -23.69)
CIE-LCHlch(1.88, 26.12, 294.89°)
OKLaboklab(13.73% 0.0022 -0.0838)
OKLCHoklch(13.73% 0.084 271.5)
XYZxyz(0.4662, 0.2082, 2.2057)
Luminance0.0021 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#03012A #282A01
analogous
#01132A #03012A #17012A
triadic
#03012A #2A0301 #012A03
tetradic
#03012A #2A0113 #282A01 #012A17
square
#03012A #2A0113 #282A01 #012A17
split-complementary
#03012A #2A1701 #132A01
monochromatic
#02011E #02011E #03012A #070266 #0C04A2

Accessibility & contrast

On white

20.16
#03012A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.04
#03012A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #03012A
20.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##03012A#FFFFFF#000000##FFFFFF
##03012A1.0020.161.0420.16
#FFFFFF20.161.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00092B
Deuteranopia (green-blind)
#000529
Tritanopia (blue-blind)
#000C15
Achromatopsia (no color)
#070707

Design tokens & code

CSS
--color: #03012a;
/* rgb */ color: rgb(3, 1, 42);
/* oklch */ color: oklch(13.7% 0.084 271.5);
Tailwind
colors: {
  custom: {
    50: '#484764',
    500: '#03012a',
    950: '#000000',
  },
}
SCSS
$custom: #03012a;
$custom-light: #484764;
$custom-dark: #000000;
JSON
{
  "hex": "#03012a",
  "rgb": {
    "r": 3,
    "g": 1,
    "b": 42
  },
  "hsl": {
    "h": 242.927,
    "s": 95.349,
    "l": 8.431
  },
  "oklch": {
    "l": 0.13726,
    "c": 0.0838,
    "h": 271.5
  },
  "luminance": 0.00208
}

Semantic roles & 50–950 ramp

primary
#03012A
secondary
#6C7016
accent
#FF29F5
background
#F4F3F6
surface
#E7E5EB
border
#C3C1C6
text
#010005
muted
#77777A

Preview Lab

Preview with #03012A

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

Preview Lab → · Contrast checker → · Palette generator →

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