#05033B#05033B

#05033B is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 17.2% C 0.102 H 270.5°. Best body text is #FFFFFF at 19.40:1 contrast (WCAG AA passes).

Color values

HEX#05033B
RGBrgb(5, 3, 59)
HSLhsl(242, 90%, 12%)
HSVhsv(242, 95%, 23%)
CMYKcmyk(91.5%, 94.9%, 0%, 76.9%)
CIE-LABlab(3.73, 20.11, -33.39)
CIE-LCHlch(3.73, 38.98, 301.06°)
OKLaboklab(17.16% 0.0009 -0.1022)
OKLCHoklch(17.16% 0.102 270.5)
XYZxyz(0.8843, 0.4131, 4.1699)
Luminance0.0041 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05033B #393B03
analogous
#031D3B #05033B #21033B
triadic
#05033B #3B0503 #033B05
tetradic
#05033B #3B031D #393B03 #033B21
square
#05033B #3B031D #393B03 #033B21
split-complementary
#05033B #3B2103 #1D3B03
monochromatic
#02011D #02011D #05033B #0A0675 #0F09AF

Accessibility & contrast

On white

19.40
#05033B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#05033B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05033B
19.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05033B#FFFFFF#000000##FFFFFF
##05033B1.0019.401.0819.40
#FFFFFF19.401.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00103D
Deuteranopia (green-blind)
#000A3A
Tritanopia (blue-blind)
#00141F
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #05033b;
/* rgb */ color: rgb(5, 3, 59);
/* oklch */ color: oklch(17.2% 0.102 270.5);
Tailwind
colors: {
  custom: {
    50: '#4f4772',
    500: '#05033b',
    950: '#000000',
  },
}
SCSS
$custom: #05033b;
$custom-light: #4f4772;
$custom-dark: #000000;
JSON
{
  "hex": "#05033b",
  "rgb": {
    "r": 5,
    "g": 3,
    "b": 59
  },
  "hsl": {
    "h": 242.143,
    "s": 90.323,
    "l": 12.157
  },
  "oklch": {
    "l": 0.17155,
    "c": 0.10219,
    "h": 270.5
  },
  "luminance": 0.00413
}

Semantic roles & 50–950 ramp

primary
#05033B
secondary
#7A7E1C
accent
#FF29F7
background
#F4F3F6
surface
#E7E5EC
border
#C3C1C7
text
#020008
muted
#78777B

Preview Lab

Preview with #05033B

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

Preview Lab → · Contrast checker → · Palette generator →

#05033B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva