#050623#050623

#050623 is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 14.6% C 0.060 H 274.0°. Best body text is #FFFFFF at 19.87:1 contrast (WCAG AA passes).

Color values

HEX#050623
RGBrgb(5, 6, 35)
HSLhsl(238, 75%, 8%)
HSVhsv(238, 86%, 14%)
CMYKcmyk(85.7%, 82.9%, 0%, 86.3%)
CIE-LABlab(2.56, 6.61, -17.20)
CIE-LCHlch(2.56, 18.43, 291.01°)
OKLaboklab(14.65% 0.0042 -0.0603)
OKLCHoklch(14.65% 0.06 274)
XYZxyz(0.4310, 0.2838, 1.6219)
Luminance0.0028 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050623 #232205
analogous
#051523 #050623 #130523
triadic
#050623 #230506 #062305
tetradic
#050623 #230515 #232205 #052313
square
#050623 #230515 #232205 #052313
split-complementary
#050623 #231305 #152305
monochromatic
#04051B #04051B #050623 #0D0F59 #14188E

Accessibility & contrast

On white

19.87
#050623 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.06
#050623 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #050623
19.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050623#FFFFFF#000000##FFFFFF
##0506231.0019.871.0619.87
#FFFFFF19.871.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000B24
Deuteranopia (green-blind)
#000822
Tritanopia (blue-blind)
#000D13
Achromatopsia (no color)
#090909

Design tokens & code

CSS
--color: #050623;
/* rgb */ color: rgb(5, 6, 35);
/* oklch */ color: oklch(14.6% 0.060 274.0);
Tailwind
colors: {
  custom: {
    50: '#48495e',
    500: '#050623',
    950: '#000000',
  },
}
SCSS
$custom: #050623;
$custom-light: #48495e;
$custom-dark: #000000;
JSON
{
  "hex": "#050623",
  "rgb": {
    "r": 5,
    "g": 6,
    "b": 35
  },
  "hsl": {
    "h": 238,
    "s": 75,
    "l": 7.843
  },
  "oklch": {
    "l": 0.14647,
    "c": 0.06046,
    "h": 274
  },
  "luminance": 0.00284
}

Semantic roles & 50–950 ramp

primary
#050623
secondary
#64621F
accent
#EB36F2
background
#F4F4F5
surface
#E7E6E9
border
#C3C2C5
text
#010004
muted
#777779

Preview Lab

Preview with #050623

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

Preview Lab → · Contrast checker → · Palette generator →

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