#061230#061230

#061230 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.3% C 0.063 H 264.2°. Best body text is #FFFFFF at 18.47:1 contrast (WCAG AA passes).

Color values

HEX#061230
RGBrgb(6, 18, 48)
HSLhsl(223, 78%, 11%)
HSVhsv(223, 88%, 19%)
CMYKcmyk(87.5%, 62.5%, 0%, 81.2%)
CIE-LABlab(6.18, 7.13, -21.37)
CIE-LCHlch(6.18, 22.53, 288.44°)
OKLaboklab(19.26% -0.0063 -0.0623)
OKLCHoklch(19.26% 0.063 264.2)
XYZxyz(0.8247, 0.6846, 2.8844)
Luminance0.0069 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#061230 #302406
analogous
#062730 #061230 #0F0630
triadic
#061230 #300612 #123006
tetradic
#061230 #300627 #302406 #06300F
square
#061230 #300627 #302406 #06300F
split-complementary
#061230 #300F06 #273006
monochromatic
#030A1B #030A1B #061230 #0D2666 #143B9D

Accessibility & contrast

On white

18.47
#061230 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#061230 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #061230
18.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##061230#FFFFFF#000000##FFFFFF
##0612301.0018.471.1418.47
#FFFFFF18.471.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021631
Deuteranopia (green-blind)
#00122F
Tritanopia (blue-blind)
#00191E
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #061230;
/* rgb */ color: rgb(6, 18, 48);
/* oklch */ color: oklch(19.3% 0.063 264.2);
Tailwind
colors: {
  custom: {
    50: '#4c4f68',
    500: '#061230',
    950: '#000000',
  },
}
SCSS
$custom: #061230;
$custom-light: #4c4f68;
$custom-dark: #000000;
JSON
{
  "hex": "#061230",
  "rgb": {
    "r": 6,
    "g": 18,
    "b": 48
  },
  "hsl": {
    "h": 222.857,
    "s": 77.778,
    "l": 10.588
  },
  "oklch": {
    "l": 0.19263,
    "c": 0.06259,
    "h": 264.2
  },
  "luminance": 0.00685
}

Semantic roles & 50–950 ramp

primary
#061230
secondary
#715A21
accent
#BD34F4
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #061230

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

Preview Lab → · Contrast checker → · Palette generator →

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