#05073B#05073B

#05073B is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 18.0% C 0.096 H 269.6°. Best body text is #FFFFFF at 19.09:1 contrast (WCAG AA passes).

Color values

HEX#05073B
RGBrgb(5, 7, 59)
HSLhsl(238, 84%, 13%)
HSVhsv(238, 92%, 23%)
CMYKcmyk(91.5%, 88.1%, 0%, 76.9%)
CIE-LABlab(4.52, 18.43, -32.12)
CIE-LCHlch(4.52, 37.03, 299.84°)
OKLaboklab(18.01% -0.0007 -0.0964)
OKLCHoklch(18.01% 0.096 269.6)
XYZxyz(0.9277, 0.4999, 4.1844)
Luminance0.0050 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05073B #3B3905
analogous
#05223B #05073B #1E053B
triadic
#05073B #3B0507 #073B05
tetradic
#05073B #3B0522 #3B3905 #053B1E
square
#05073B #3B0522 #3B3905 #053B1E
split-complementary
#05073B #3B1E05 #223B05
monochromatic
#02031C #02031C #05073B #0A0E73 #0F14AC

Accessibility & contrast

On white

19.09
#05073B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#05073B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05073B
19.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05073B#FFFFFF#000000##FFFFFF
##05073B1.0019.091.1019.09
#FFFFFF19.091.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00123C
Deuteranopia (green-blind)
#000D3A
Tritanopia (blue-blind)
#001720
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #05073b;
/* rgb */ color: rgb(5, 7, 59);
/* oklch */ color: oklch(18.0% 0.096 269.6);
Tailwind
colors: {
  custom: {
    50: '#504972',
    500: '#05073b',
    950: '#000000',
  },
}
SCSS
$custom: #05073b;
$custom-light: #504972;
$custom-dark: #000000;
JSON
{
  "hex": "#05073b",
  "rgb": {
    "r": 5,
    "g": 7,
    "b": 59
  },
  "hsl": {
    "h": 237.778,
    "s": 84.375,
    "l": 12.549
  },
  "oklch": {
    "l": 0.18005,
    "c": 0.09645,
    "h": 269.6
  },
  "luminance": 0.005
}

Semantic roles & 50–950 ramp

primary
#05073B
secondary
#7C7920
accent
#F32DFB
background
#F4F4F6
surface
#E7E6EC
border
#C3C2C7
text
#020008
muted
#78777B

Preview Lab

Preview with #05073B

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

Preview Lab → · Contrast checker → · Palette generator →

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