#060738#060738

#060738 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.7% C 0.092 H 271.1°. Best body text is #FFFFFF at 19.17:1 contrast (WCAG AA passes).

Color values

HEX#060738
RGBrgb(6, 7, 56)
HSLhsl(239, 81%, 12%)
HSVhsv(239, 89%, 22%)
CMYKcmyk(89.3%, 87.5%, 0%, 78%)
CIE-LABlab(4.30, 16.88, -30.28)
CIE-LCHlch(4.30, 34.67, 299.13°)
OKLaboklab(17.68% 0.0017 -0.0916)
OKLCHoklch(17.68% 0.092 271.1)
XYZxyz(0.8647, 0.4761, 3.7869)
Luminance0.0048 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060738 #383706
analogous
#062038 #060738 #1E0638
triadic
#060738 #380607 #073806
tetradic
#060738 #380620 #383706 #06381E
square
#060738 #380620 #383706 #06381E
split-complementary
#060738 #381E06 #203806
monochromatic
#03031C #03031C #060738 #0C0E6F #1215A7

Accessibility & contrast

On white

19.17
#060738 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#060738 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #060738
19.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060738#FFFFFF#000000##FFFFFF
##0607381.0019.171.1019.17
#FFFFFF19.171.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001139
Deuteranopia (green-blind)
#000C37
Tritanopia (blue-blind)
#00151F
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #060738;
/* rgb */ color: rgb(6, 7, 56);
/* oklch */ color: oklch(17.7% 0.092 271.1);
Tailwind
colors: {
  custom: {
    50: '#4f496f',
    500: '#060738',
    950: '#000000',
  },
}
SCSS
$custom: #060738;
$custom-light: #4f496f;
$custom-dark: #000000;
JSON
{
  "hex": "#060738",
  "rgb": {
    "r": 6,
    "g": 7,
    "b": 56
  },
  "hsl": {
    "h": 238.8,
    "s": 80.645,
    "l": 12.157
  },
  "oklch": {
    "l": 0.17684,
    "c": 0.09163,
    "h": 271.1
  },
  "luminance": 0.00476
}

Semantic roles & 50–950 ramp

primary
#060738
secondary
#787721
accent
#F331F7
background
#F4F4F6
surface
#E7E6EC
border
#C3C2C7
text
#020007
muted
#78777A

Preview Lab

Preview with #060738

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

Preview Lab → · Contrast checker → · Palette generator →

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