#050830#050830

#050830 is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.8% C 0.078 H 270.5°. Best body text is #FFFFFF at 19.38:1 contrast (WCAG AA passes).

Color values

HEX#050830
RGBrgb(5, 8, 48)
HSLhsl(236, 81%, 10%)
HSVhsv(236, 90%, 19%)
CMYKcmyk(89.6%, 83.3%, 0%, 81.2%)
CIE-LABlab(3.79, 11.64, -25.20)
CIE-LCHlch(3.79, 27.76, 294.79°)
OKLaboklab(16.77% 0.0006 -0.0783)
OKLCHoklch(16.77% 0.078 270.5)
XYZxyz(0.6827, 0.4193, 2.8407)
Luminance0.0042 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050830 #302D05
analogous
#051D30 #050830 #170530
triadic
#050830 #300508 #083005
tetradic
#050830 #30051D #302D05 #053017
square
#050830 #30051D #302D05 #053017
split-complementary
#050830 #301705 #1D3005
monochromatic
#03051C #03051C #050830 #0B1167 #111A9F

Accessibility & contrast

On white

19.38
#050830 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#050830 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #050830
19.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050830#FFFFFF#000000##FFFFFF
##0508301.0019.381.0819.38
#FFFFFF19.381.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001031
Deuteranopia (green-blind)
#000B2F
Tritanopia (blue-blind)
#00131B
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #050830;
/* rgb */ color: rgb(5, 8, 48);
/* oklch */ color: oklch(16.8% 0.078 270.5);
Tailwind
colors: {
  custom: {
    50: '#4b4a69',
    500: '#050830',
    950: '#000000',
  },
}
SCSS
$custom: #050830;
$custom-light: #4b4a69;
$custom-dark: #000000;
JSON
{
  "hex": "#050830",
  "rgb": {
    "r": 5,
    "g": 8,
    "b": 48
  },
  "hsl": {
    "h": 235.814,
    "s": 81.132,
    "l": 10.392
  },
  "oklch": {
    "l": 0.16774,
    "c": 0.07835,
    "h": 270.5
  },
  "luminance": 0.00419
}

Semantic roles & 50–950 ramp

primary
#050830
secondary
#726C1F
accent
#EA30F8
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #050830

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

Preview Lab → · Contrast checker → · Palette generator →

#050830 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva