#060731#060731

#060731 is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.8% C 0.081 H 272.2°. Best body text is #FFFFFF at 19.40:1 contrast (WCAG AA passes).

Color values

HEX#060731
RGBrgb(6, 7, 49)
HSLhsl(239, 78%, 11%)
HSVhsv(239, 88%, 19%)
CMYKcmyk(87.8%, 85.7%, 0%, 80.8%)
CIE-LABlab(3.73, 12.84, -26.04)
CIE-LCHlch(3.73, 29.03, 296.24°)
OKLaboklab(16.76% 0.0031 -0.081)
OKLCHoklch(16.76% 0.081 272.2)
XYZxyz(0.7053, 0.4124, 2.9476)
Luminance0.0041 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060731 #313006
analogous
#061C31 #060731 #1A0631
triadic
#060731 #310607 #073106
tetradic
#060731 #31061C #313006 #06311A
square
#060731 #31061C #313006 #06311A
split-complementary
#060731 #311A06 #1C3106
monochromatic
#03041B #03041B #060731 #0D0F68 #13179E

Accessibility & contrast

On white

19.40
#060731 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#060731 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #060731
19.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060731#FFFFFF#000000##FFFFFF
##0607311.0019.401.0819.40
#FFFFFF19.401.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F32
Deuteranopia (green-blind)
#000B30
Tritanopia (blue-blind)
#00131B
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #060731;
/* rgb */ color: rgb(6, 7, 49);
/* oklch */ color: oklch(16.8% 0.081 272.2);
Tailwind
colors: {
  custom: {
    50: '#4c4969',
    500: '#060731',
    950: '#000000',
  },
}
SCSS
$custom: #060731;
$custom-light: #4c4969;
$custom-dark: #000000;
JSON
{
  "hex": "#060731",
  "rgb": {
    "r": 6,
    "g": 7,
    "b": 49
  },
  "hsl": {
    "h": 238.605,
    "s": 78.182,
    "l": 10.784
  },
  "oklch": {
    "l": 0.16763,
    "c": 0.08103,
    "h": 272.2
  },
  "luminance": 0.00412
}

Semantic roles & 50–950 ramp

primary
#060731
secondary
#727021
accent
#F033F5
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#010006
muted
#77777A

Preview Lab

Preview with #060731

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

Preview Lab → · Contrast checker → · Palette generator →

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