#05102E#05102E

#05102E is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.5% C 0.063 H 264.5°. Best body text is #FFFFFF at 18.75:1 contrast (WCAG AA passes).

Color values

HEX#05102E
RGBrgb(5, 16, 46)
HSLhsl(224, 80%, 10%)
HSVhsv(224, 89%, 18%)
CMYKcmyk(89.1%, 65.2%, 0%, 82%)
CIE-LABlab(5.42, 6.99, -21.11)
CIE-LCHlch(5.42, 22.23, 288.31°)
OKLaboklab(18.47% -0.006 -0.0625)
OKLCHoklch(18.47% 0.063 264.5)
XYZxyz(0.7408, 0.6000, 2.6610)
Luminance0.0060 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05102E #2E2305
analogous
#05252E #05102E #0E052E
triadic
#05102E #2E0510 #102E05
tetradic
#05102E #2E0525 #2E2305 #052E0E
square
#05102E #2E0525 #2E2305 #052E0E
split-complementary
#05102E #2E0E05 #252E05
monochromatic
#030A1C #030A1C #05102E #0B2365 #11369C

Accessibility & contrast

On white

18.75
#05102E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#05102E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05102E
18.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05102E#FFFFFF#000000##FFFFFF
##05102E1.0018.751.1218.75
#FFFFFF18.751.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00142F
Deuteranopia (green-blind)
#00102D
Tritanopia (blue-blind)
#00171C
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #05102e;
/* rgb */ color: rgb(5, 16, 46);
/* oklch */ color: oklch(18.5% 0.063 264.5);
Tailwind
colors: {
  custom: {
    50: '#4b4e67',
    500: '#05102e',
    950: '#000000',
  },
}
SCSS
$custom: #05102e;
$custom-light: #4b4e67;
$custom-dark: #000000;
JSON
{
  "hex": "#05102e",
  "rgb": {
    "r": 5,
    "g": 16,
    "b": 46
  },
  "hsl": {
    "h": 223.902,
    "s": 80.392,
    "l": 10
  },
  "oklch": {
    "l": 0.18467,
    "c": 0.06279,
    "h": 264.5
  },
  "luminance": 0.006
}

Semantic roles & 50–950 ramp

primary
#05102E
secondary
#705A1F
accent
#C231F7
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #05102E

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

Preview Lab → · Contrast checker → · Palette generator →

#05102E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva