#061038#061038

#061038 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.6% C 0.079 H 267.1°. Best body text is #FFFFFF at 18.44:1 contrast (WCAG AA passes).

Color values

HEX#061038
RGBrgb(6, 16, 56)
HSLhsl(228, 81%, 12%)
HSVhsv(228, 89%, 22%)
CMYKcmyk(89.3%, 71.4%, 0%, 78%)
CIE-LABlab(6.28, 12.59, -27.09)
CIE-LCHlch(6.28, 29.87, 294.93°)
OKLaboklab(19.59% -0.004 -0.079)
OKLCHoklch(19.59% 0.079 267.1)
XYZxyz(0.9740, 0.6947, 3.8234)
Luminance0.0069 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#061038 #382E06
analogous
#062938 #061038 #150638
triadic
#061038 #380610 #103806
tetradic
#061038 #380629 #382E06 #063815
square
#061038 #380629 #382E06 #063815
split-complementary
#061038 #381506 #293806
monochromatic
#03081C #03081C #061038 #0C206F #1230A7

Accessibility & contrast

On white

18.44
#061038 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #061038
18.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##061038#FFFFFF#000000##FFFFFF
##0610381.0018.441.1418.44
#FFFFFF18.441.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001639
Deuteranopia (green-blind)
#001237
Tritanopia (blue-blind)
#001A22
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #061038;
/* rgb */ color: rgb(6, 16, 56);
/* oklch */ color: oklch(19.6% 0.079 267.1);
Tailwind
colors: {
  custom: {
    50: '#4f4e6f',
    500: '#061038',
    950: '#000000',
  },
}
SCSS
$custom: #061038;
$custom-light: #4f4e6f;
$custom-dark: #000000;
JSON
{
  "hex": "#061038",
  "rgb": {
    "r": 6,
    "g": 16,
    "b": 56
  },
  "hsl": {
    "h": 228,
    "s": 80.645,
    "l": 12.157
  },
  "oklch": {
    "l": 0.19585,
    "c": 0.07912,
    "h": 267.1
  },
  "luminance": 0.00695
}

Semantic roles & 50–950 ramp

primary
#061038
secondary
#786721
accent
#CF31F7
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #061038

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

Preview Lab → · Contrast checker → · Palette generator →

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