#05073F#05073F

#05073F is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 18.6% C 0.102 H 269.1°. Best body text is #FFFFFF at 18.94:1 contrast (WCAG AA passes).

Color values

HEX#05073F
RGBrgb(5, 7, 63)
HSLhsl(238, 85%, 13%)
HSVhsv(238, 92%, 25%)
CMYKcmyk(92.1%, 88.9%, 0%, 75.3%)
CIE-LABlab(4.90, 20.74, -34.37)
CIE-LCHlch(4.90, 40.14, 301.10°)
OKLaboklab(18.56% -0.0016 -0.1021)
OKLCHoklch(18.56% 0.102 269.1)
XYZxyz(1.0355, 0.5430, 4.7519)
Luminance0.0054 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05073F #3F3D05
analogous
#05243F #05073F #20053F
triadic
#05073F #3F0507 #073F05
tetradic
#05073F #3F0524 #3F3D05 #053F20
square
#05073F #3F0524 #3F3D05 #053F20
split-complementary
#05073F #3F2005 #243F05
monochromatic
#02031C #02031C #05073F #090D78 #0E14B0

Accessibility & contrast

On white

18.94
#05073F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#05073F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05073F
18.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05073F#FFFFFF#000000##FFFFFF
##05073F1.0018.941.1118.94
#FFFFFF18.941.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001441
Deuteranopia (green-blind)
#000E3E
Tritanopia (blue-blind)
#001823
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #05073f;
/* rgb */ color: rgb(5, 7, 63);
/* oklch */ color: oklch(18.6% 0.102 269.1);
Tailwind
colors: {
  custom: {
    50: '#514875',
    500: '#05073f',
    950: '#000000',
  },
}
SCSS
$custom: #05073f;
$custom-light: #514875;
$custom-dark: #000000;
JSON
{
  "hex": "#05073f",
  "rgb": {
    "r": 5,
    "g": 7,
    "b": 63
  },
  "hsl": {
    "h": 237.931,
    "s": 85.294,
    "l": 13.333
  },
  "oklch": {
    "l": 0.18557,
    "c": 0.10216,
    "h": 269.1
  },
  "luminance": 0.00543
}

Semantic roles & 50–950 ramp

primary
#05073F
secondary
#807C20
accent
#F42CFC
background
#F4F4F7
surface
#E7E6ED
border
#C3C2C8
text
#030008
muted
#78777B

Preview Lab

Preview with #05073F

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

Preview Lab → · Contrast checker → · Palette generator →

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