#060231#060231

#060231 is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 15.5% C 0.090 H 274.5°. Best body text is #FFFFFF at 19.80:1 contrast (WCAG AA passes).

Color values

HEX#060231
RGBrgb(6, 2, 49)
HSLhsl(245, 92%, 10%)
HSVhsv(245, 96%, 19%)
CMYKcmyk(87.8%, 95.9%, 0%, 80.8%)
CIE-LABlab(2.74, 14.84, -27.61)
CIE-LCHlch(2.74, 31.35, 298.25°)
OKLaboklab(15.5% 0.007 -0.0895)
OKLCHoklch(15.5% 0.09 274.5)
XYZxyz(0.6510, 0.3038, 2.9295)
Luminance0.0030 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060231 #2D3102
analogous
#021631 #060231 #1D0231
triadic
#060231 #310602 #023106
tetradic
#060231 #310216 #2D3102 #02311D
square
#060231 #310216 #2D3102 #02311D
split-complementary
#060231 #311D02 #163102
monochromatic
#04011D #04011D #060231 #0D046C #1407A7

Accessibility & contrast

On white

19.80
#060231 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #060231
19.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060231#FFFFFF#000000##FFFFFF
##0602311.0019.801.0619.80
#FFFFFF19.801.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C32
Deuteranopia (green-blind)
#000830
Tritanopia (blue-blind)
#000F19
Achromatopsia (no color)
#0A0A0A

Design tokens & code

CSS
--color: #060231;
/* rgb */ color: rgb(6, 2, 49);
/* oklch */ color: oklch(15.5% 0.090 274.5);
Tailwind
colors: {
  custom: {
    50: '#4b4769',
    500: '#060231',
    950: '#000000',
  },
}
SCSS
$custom: #060231;
$custom-light: #4b4769;
$custom-dark: #000000;
JSON
{
  "hex": "#060231",
  "rgb": {
    "r": 6,
    "g": 2,
    "b": 49
  },
  "hsl": {
    "h": 245.106,
    "s": 92.157,
    "l": 10
  },
  "oklch": {
    "l": 0.15504,
    "c": 0.08976,
    "h": 274.5
  },
  "luminance": 0.00304
}

Semantic roles & 50–950 ramp

primary
#060231
secondary
#6E7519
accent
#FF29ED
background
#F4F3F6
surface
#E7E5EB
border
#C3C1C6
text
#010006
muted
#77777A

Preview Lab

Preview with #060231

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

Preview Lab → · Contrast checker → · Palette generator →

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