#061938#061938

#061938 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 21.9% C 0.066 H 259.4°. Best body text is #FFFFFF at 17.44:1 contrast (WCAG AA passes).

Color values

HEX#061938
RGBrgb(6, 25, 56)
HSLhsl(217, 81%, 12%)
HSVhsv(217, 89%, 22%)
CMYKcmyk(89.3%, 55.4%, 0%, 78%)
CIE-LABlab(9.15, 5.91, -22.43)
CIE-LCHlch(9.15, 23.20, 284.77°)
OKLaboklab(21.87% -0.0121 -0.0644)
OKLCHoklch(21.87% 0.066 259.4)
XYZxyz(1.1363, 1.0194, 3.8775)
Luminance0.0102 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#061938 #382506
analogous
#063238 #061938 #0C0638
triadic
#061938 #380619 #193806
tetradic
#061938 #380632 #382506 #06380C
square
#061938 #380632 #382506 #06380C
split-complementary
#061938 #380C06 #323806
monochromatic
#030C1C #030C1C #061938 #0C326F #124AA7

Accessibility & contrast

On white

17.44
#061938 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#061938 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #061938
17.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##061938#FFFFFF#000000##FFFFFF
##0619381.0017.441.2017.44
#FFFFFF17.441.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081C39
Deuteranopia (green-blind)
#001837
Tritanopia (blue-blind)
#002025
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #061938;
/* rgb */ color: rgb(6, 25, 56);
/* oklch */ color: oklch(21.9% 0.066 259.4);
Tailwind
colors: {
  custom: {
    50: '#4f556f',
    500: '#061938',
    950: '#000000',
  },
}
SCSS
$custom: #061938;
$custom-light: #4f556f;
$custom-dark: #000000;
JSON
{
  "hex": "#061938",
  "rgb": {
    "r": 6,
    "g": 25,
    "b": 56
  },
  "hsl": {
    "h": 217.2,
    "s": 80.645,
    "l": 12.157
  },
  "oklch": {
    "l": 0.21868,
    "c": 0.06556,
    "h": 259.4
  },
  "luminance": 0.0102
}

Semantic roles & 50–950 ramp

primary
#061938
secondary
#785721
accent
#AC31F7
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020207
muted
#78787A

Preview Lab

Preview with #061938

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

Preview Lab → · Contrast checker → · Palette generator →

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