#06123D#06123D

#06123D is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.6% C 0.084 H 266.2°. Best body text is #FFFFFF at 18.08:1 contrast (WCAG AA passes).

Color values

HEX#06123D
RGBrgb(6, 18, 61)
HSLhsl(227, 82%, 13%)
HSVhsv(227, 90%, 24%)
CMYKcmyk(90.2%, 70.5%, 0%, 76.1%)
CIE-LABlab(7.30, 13.80, -29.03)
CIE-LCHlch(7.30, 32.14, 295.43°)
OKLaboklab(20.6% -0.0055 -0.0841)
OKLCHoklch(20.6% 0.084 266.2)
XYZxyz(1.1334, 0.8081, 4.5102)
Luminance0.0081 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#06123D #3D3106
analogous
#062D3D #06123D #15063D
triadic
#06123D #3D0612 #123D06
tetradic
#06123D #3D062D #3D3106 #063D15
square
#06123D #3D062D #3D3106 #063D15
split-complementary
#06123D #3D1506 #2D3D06
monochromatic
#03081C #03081C #06123D #0B2275 #1133AC

Accessibility & contrast

On white

18.08
#06123D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#06123D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #06123D
18.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##06123D#FFFFFF#000000##FFFFFF
##06123D1.0018.081.1618.08
#FFFFFF18.081.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193E
Deuteranopia (green-blind)
#00143C
Tritanopia (blue-blind)
#001D25
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #06123d;
/* rgb */ color: rgb(6, 18, 61);
/* oklch */ color: oklch(20.6% 0.084 266.2);
Tailwind
colors: {
  custom: {
    50: '#514f73',
    500: '#06123d',
    950: '#000000',
  },
}
SCSS
$custom: #06123d;
$custom-light: #514f73;
$custom-dark: #000000;
JSON
{
  "hex": "#06123d",
  "rgb": {
    "r": 6,
    "g": 18,
    "b": 61
  },
  "hsl": {
    "h": 226.909,
    "s": 82.09,
    "l": 13.137
  },
  "oklch": {
    "l": 0.20595,
    "c": 0.08425,
    "h": 266.2
  },
  "luminance": 0.00808
}

Semantic roles & 50–950 ramp

primary
#06123D
secondary
#7D6922
accent
#CD2FF8
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#020108
muted
#78777B

Preview Lab

Preview with #06123D

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

Preview Lab → · Contrast checker → · Palette generator →

#06123D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva