#060229#060229

#060229 is a very dark, moderate blue. Relative luminance 0.002; OKLCH L 14.3% C 0.078 H 277.4°. Best body text is #FFFFFF at 20.03:1 contrast (WCAG AA passes).

Color values

HEX#060229
RGBrgb(6, 2, 41)
HSLhsl(246, 91%, 8%)
HSVhsv(246, 95%, 16%)
CMYKcmyk(85.4%, 95.1%, 0%, 83.9%)
CIE-LABlab(2.19, 10.92, -22.43)
CIE-LCHlch(2.19, 24.95, 295.97°)
OKLaboklab(14.32% 0.0101 -0.0778)
OKLCHoklch(14.32% 0.078 277.4)
XYZxyz(0.4969, 0.2422, 2.1179)
Luminance0.0024 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060229 #252902
analogous
#021129 #060229 #190229
triadic
#060229 #290602 #022906
tetradic
#060229 #290211 #252902 #022919
square
#060229 #290211 #252902 #022919
split-complementary
#060229 #291902 #112902
monochromatic
#04011D #04011D #060229 #0F0563 #17089E

Accessibility & contrast

On white

20.03
#060229 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.05
#060229 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #060229
20.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060229#FFFFFF#000000##FFFFFF
##0602291.0020.031.0520.03
#FFFFFF20.031.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF20.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000A2A
Deuteranopia (green-blind)
#000628
Tritanopia (blue-blind)
#000C14
Achromatopsia (no color)
#080808

Design tokens & code

CSS
--color: #060229;
/* rgb */ color: rgb(6, 2, 41);
/* oklch */ color: oklch(14.3% 0.078 277.4);
Tailwind
colors: {
  custom: {
    50: '#4a4763',
    500: '#060229',
    950: '#000000',
  },
}
SCSS
$custom: #060229;
$custom-light: #4a4763;
$custom-dark: #000000;
JSON
{
  "hex": "#060229",
  "rgb": {
    "r": 6,
    "g": 2,
    "b": 41
  },
  "hsl": {
    "h": 246.154,
    "s": 90.698,
    "l": 8.431
  },
  "oklch": {
    "l": 0.14316,
    "c": 0.07846,
    "h": 277.4
  },
  "luminance": 0.00242
}

Semantic roles & 50–950 ramp

primary
#060229
secondary
#656E19
accent
#FF29E9
background
#F4F4F5
surface
#E7E6EA
border
#C3C2C6
text
#010005
muted
#777779

Preview Lab

Preview with #060229

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

Preview Lab → · Contrast checker → · Palette generator →

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