#05073C#05073C

#05073C is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 18.1% C 0.098 H 269.4°. Best body text is #FFFFFF at 19.06:1 contrast (WCAG AA passes).

Color values

HEX#05073C
RGBrgb(5, 7, 60)
HSLhsl(238, 85%, 13%)
HSVhsv(238, 92%, 24%)
CMYKcmyk(91.7%, 88.3%, 0%, 76.5%)
CIE-LABlab(4.61, 19.01, -32.69)
CIE-LCHlch(4.61, 37.82, 300.18°)
OKLaboklab(18.14% -0.0009 -0.0979)
OKLCHoklch(18.14% 0.098 269.4)
XYZxyz(0.9539, 0.5104, 4.3223)
Luminance0.0051 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05073C #3C3A05
analogous
#05223C #05073C #1E053C
triadic
#05073C #3C0507 #073C05
tetradic
#05073C #3C0522 #3C3A05 #053C1E
square
#05073C #3C0522 #3C3A05 #053C1E
split-complementary
#05073C #3C1E05 #223C05
monochromatic
#02031C #02031C #05073C #0A0E74 #0E14AD

Accessibility & contrast

On white

19.06
#05073C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #05073C
19.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05073C#FFFFFF#000000##FFFFFF
##05073C1.0019.061.1019.06
#FFFFFF19.061.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00133E
Deuteranopia (green-blind)
#000D3B
Tritanopia (blue-blind)
#001721
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #05073c;
/* rgb */ color: rgb(5, 7, 60);
/* oklch */ color: oklch(18.1% 0.098 269.4);
Tailwind
colors: {
  custom: {
    50: '#504972',
    500: '#05073c',
    950: '#000000',
  },
}
SCSS
$custom: #05073c;
$custom-light: #504972;
$custom-dark: #000000;
JSON
{
  "hex": "#05073c",
  "rgb": {
    "r": 5,
    "g": 7,
    "b": 60
  },
  "hsl": {
    "h": 237.818,
    "s": 84.615,
    "l": 12.745
  },
  "oklch": {
    "l": 0.18142,
    "c": 0.09789,
    "h": 269.4
  },
  "luminance": 0.0051
}

Semantic roles & 50–950 ramp

primary
#05073C
secondary
#7D7920
accent
#F32DFB
background
#F4F4F7
surface
#E7E6ED
border
#C3C2C8
text
#020008
muted
#78777B

Preview Lab

Preview with #05073C

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

Preview Lab → · Contrast checker → · Palette generator →

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