#061338#061338

#061338 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.3% C 0.075 H 265.0°. Best body text is #FFFFFF at 18.13:1 contrast (WCAG AA passes).

Color values

HEX#061338
RGBrgb(6, 19, 56)
HSLhsl(224, 81%, 12%)
HSVhsv(224, 89%, 22%)
CMYKcmyk(89.3%, 66.1%, 0%, 78%)
CIE-LABlab(7.14, 10.62, -25.69)
CIE-LCHlch(7.14, 27.80, 292.46°)
OKLaboklab(20.31% -0.0065 -0.0743)
OKLCHoklch(20.31% 0.075 265)
XYZxyz(1.0215, 0.7899, 3.8392)
Luminance0.0079 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#061338 #382B06
analogous
#062C38 #061338 #120638
triadic
#061338 #380613 #133806
tetradic
#061338 #38062C #382B06 #063812
square
#061338 #38062C #382B06 #063812
split-complementary
#061338 #381206 #2C3806
monochromatic
#03091C #03091C #061338 #0C266F #1239A7

Accessibility & contrast

On white

18.13
#061338 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#061338 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #061338
18.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##061338#FFFFFF#000000##FFFFFF
##0613381.0018.131.1618.13
#FFFFFF18.131.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001839
Deuteranopia (green-blind)
#001437
Tritanopia (blue-blind)
#001C23
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #061338;
/* rgb */ color: rgb(6, 19, 56);
/* oklch */ color: oklch(20.3% 0.075 265.0);
Tailwind
colors: {
  custom: {
    50: '#4f506f',
    500: '#061338',
    950: '#000000',
  },
}
SCSS
$custom: #061338;
$custom-light: #4f506f;
$custom-dark: #000000;
JSON
{
  "hex": "#061338",
  "rgb": {
    "r": 6,
    "g": 19,
    "b": 56
  },
  "hsl": {
    "h": 224.4,
    "s": 80.645,
    "l": 12.157
  },
  "oklch": {
    "l": 0.20308,
    "c": 0.07461,
    "h": 265
  },
  "luminance": 0.0079
}

Semantic roles & 50–950 ramp

primary
#061338
secondary
#786221
accent
#C331F7
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020207
muted
#78787A

Preview Lab

Preview with #061338

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

Preview Lab → · Contrast checker → · Palette generator →

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