#060123#060123

#060123 is a very dark, moderate blue. Relative luminance 0.002; OKLCH L 13.1% C 0.072 H 281.4°. Best body text is #FFFFFF at 20.26:1 contrast (WCAG AA passes).

Color values

HEX#060123
RGBrgb(6, 1, 35)
HSLhsl(249, 94%, 7%)
HSVhsv(249, 97%, 14%)
CMYKcmyk(82.9%, 97.1%, 0%, 86.3%)
CIE-LABlab(1.64, 8.87, -18.62)
CIE-LCHlch(1.64, 20.62, 295.47°)
OKLaboklab(13.08% 0.0143 -0.071)
OKLCHoklch(13.08% 0.072 281.4)
XYZxyz(0.3892, 0.1817, 1.6044)
Luminance0.0018 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060123 #1E2301
analogous
#010D23 #060123 #170123
triadic
#060123 #230601 #012306
tetradic
#060123 #23010D #1E2301 #012317
square
#060123 #23010D #1E2301 #012317
split-complementary
#060123 #231701 #0D2301
monochromatic
#05011E #05011E #060123 #10035F #1A049A

Accessibility & contrast

On white

20.26
#060123 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.04
#060123 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #060123
20.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060123#FFFFFF#000000##FFFFFF
##0601231.0020.261.0420.26
#FFFFFF20.261.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.261.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: #060123;
/* rgb */ color: rgb(6, 1, 35);
/* oklch */ color: oklch(13.1% 0.072 281.4);
Tailwind
colors: {
  custom: {
    50: '#49475e',
    500: '#060123',
    950: '#000000',
  },
}
SCSS
$custom: #060123;
$custom-light: #49475e;
$custom-dark: #000000;
JSON
{
  "hex": "#060123",
  "rgb": {
    "r": 6,
    "g": 1,
    "b": 35
  },
  "hsl": {
    "h": 248.824,
    "s": 94.444,
    "l": 7.059
  },
  "oklch": {
    "l": 0.13081,
    "c": 0.07246,
    "h": 281.4
  },
  "luminance": 0.00182
}

Semantic roles & 50–950 ramp

primary
#060123
secondary
#5E6A16
accent
#FF29DF
background
#F4F3F5
surface
#E7E5E9
border
#C3C1C5
text
#010004
muted
#777779

Preview Lab

Preview with #060123

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

Preview Lab → · Contrast checker → · Palette generator →

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