#05073A#05073A

#05073A is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.9% C 0.095 H 269.7°. Best body text is #FFFFFF at 19.13:1 contrast (WCAG AA passes).

Color values

HEX#05073A
RGBrgb(5, 7, 58)
HSLhsl(238, 84%, 12%)
HSVhsv(238, 91%, 23%)
CMYKcmyk(91.4%, 87.9%, 0%, 77.3%)
CIE-LABlab(4.42, 17.83, -31.55)
CIE-LCHlch(4.42, 36.24, 299.48°)
OKLaboklab(17.87% -0.0005 -0.095)
OKLCHoklch(17.87% 0.095 269.7)
XYZxyz(0.9020, 0.4896, 4.0491)
Luminance0.0049 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05073A #3A3805
analogous
#05223A #05073A #1E053A
triadic
#05073A #3A0507 #073A05
tetradic
#05073A #3A0522 #3A3805 #053A1E
square
#05073A #3A0522 #3A3805 #053A1E
split-complementary
#05073A #3A1E05 #223A05
monochromatic
#02031C #02031C #05073A #0A0E72 #0F15AB

Accessibility & contrast

On white

19.13
#05073A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #05073A
19.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05073A#FFFFFF#000000##FFFFFF
##05073A1.0019.131.1019.13
#FFFFFF19.131.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00123B
Deuteranopia (green-blind)
#000D39
Tritanopia (blue-blind)
#001620
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #05073a;
/* rgb */ color: rgb(5, 7, 58);
/* oklch */ color: oklch(17.9% 0.095 269.7);
Tailwind
colors: {
  custom: {
    50: '#4f4971',
    500: '#05073a',
    950: '#000000',
  },
}
SCSS
$custom: #05073a;
$custom-light: #4f4971;
$custom-dark: #000000;
JSON
{
  "hex": "#05073a",
  "rgb": {
    "r": 5,
    "g": 7,
    "b": 58
  },
  "hsl": {
    "h": 237.736,
    "s": 84.127,
    "l": 12.353
  },
  "oklch": {
    "l": 0.17868,
    "c": 0.095,
    "h": 269.7
  },
  "luminance": 0.0049
}

Semantic roles & 50–950 ramp

primary
#05073A
secondary
#7B7820
accent
#F32DFA
background
#F4F4F6
surface
#E7E6EC
border
#C3C2C7
text
#020008
muted
#78777B

Preview Lab

Preview with #05073A

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

Preview Lab → · Contrast checker → · Palette generator →

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