#050123#050123

#050123 is a very dark, moderate blue. Relative luminance 0.002; OKLCH L 12.9% C 0.073 H 279.0°. Best body text is #FFFFFF at 20.29:1 contrast (WCAG AA passes).

Color values

HEX#050123
RGBrgb(5, 1, 35)
HSLhsl(247, 94%, 7%)
HSVhsv(247, 97%, 14%)
CMYKcmyk(85.7%, 97.1%, 0%, 86.3%)
CIE-LABlab(1.58, 8.61, -18.71)
CIE-LCHlch(1.58, 20.59, 294.70°)
OKLaboklab(12.92% 0.0114 -0.0719)
OKLCHoklch(12.92% 0.073 279)
XYZxyz(0.3767, 0.1753, 1.6038)
Luminance0.0018 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050123 #1F2301
analogous
#010E23 #050123 #160123
triadic
#050123 #230501 #012305
tetradic
#050123 #23010E #1F2301 #012316
square
#050123 #23010E #1F2301 #012316
split-complementary
#050123 #231601 #0E2301
monochromatic
#04011E #04011E #050123 #0E035F #16049A

Accessibility & contrast

On white

20.29
#050123 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.03
#050123 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #050123
20.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050123#FFFFFF#000000##FFFFFF
##0501231.0020.291.0320.29
#FFFFFF20.291.0021.001.00
#0000001.0321.001.0021.00
##FFFFFF20.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000724
Deuteranopia (green-blind)
#000522
Tritanopia (blue-blind)
#000910
Achromatopsia (no color)
#060606

Design tokens & code

CSS
--color: #050123;
/* rgb */ color: rgb(5, 1, 35);
/* oklch */ color: oklch(12.9% 0.073 279.0);
Tailwind
colors: {
  custom: {
    50: '#48475e',
    500: '#050123',
    950: '#000000',
  },
}
SCSS
$custom: #050123;
$custom-light: #48475e;
$custom-dark: #000000;
JSON
{
  "hex": "#050123",
  "rgb": {
    "r": 5,
    "g": 1,
    "b": 35
  },
  "hsl": {
    "h": 247.059,
    "s": 94.444,
    "l": 7.059
  },
  "oklch": {
    "l": 0.12924,
    "c": 0.07281,
    "h": 279
  },
  "luminance": 0.00175
}

Semantic roles & 50–950 ramp

primary
#050123
secondary
#606A16
accent
#FF29E6
background
#F4F3F5
surface
#E7E5E9
border
#C3C1C5
text
#010004
muted
#777779

Preview Lab

Preview with #050123

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

Preview Lab → · Contrast checker → · Palette generator →

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