#061438#061438

#061438 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.6% C 0.073 H 264.2°. Best body text is #FFFFFF at 18.03:1 contrast (WCAG AA passes).

Color values

HEX#061438
RGBrgb(6, 20, 56)
HSLhsl(223, 81%, 12%)
HSVhsv(223, 89%, 22%)
CMYKcmyk(89.3%, 64.3%, 0%, 78%)
CIE-LABlab(7.45, 9.90, -25.19)
CIE-LCHlch(7.45, 27.06, 291.45°)
OKLaboklab(20.56% -0.0073 -0.0727)
OKLCHoklch(20.56% 0.073 264.2)
XYZxyz(1.0388, 0.8244, 3.8450)
Luminance0.0083 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#061438 #382A06
analogous
#062D38 #061438 #110638
triadic
#061438 #380614 #143806
tetradic
#061438 #38062D #382A06 #063811
square
#061438 #38062D #382A06 #063811
split-complementary
#061438 #381106 #2D3806
monochromatic
#030A1C #030A1C #061438 #0C286F #123BA7

Accessibility & contrast

On white

18.03
#061438 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#061438 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #061438
18.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##061438#FFFFFF#000000##FFFFFF
##0614381.0018.031.1718.03
#FFFFFF18.031.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #061438;
/* rgb */ color: rgb(6, 20, 56);
/* oklch */ color: oklch(20.6% 0.073 264.2);
Tailwind
colors: {
  custom: {
    50: '#4f506f',
    500: '#061438',
    950: '#000000',
  },
}
SCSS
$custom: #061438;
$custom-light: #4f506f;
$custom-dark: #000000;
JSON
{
  "hex": "#061438",
  "rgb": {
    "r": 6,
    "g": 20,
    "b": 56
  },
  "hsl": {
    "h": 223.2,
    "s": 80.645,
    "l": 12.157
  },
  "oklch": {
    "l": 0.20559,
    "c": 0.07309,
    "h": 264.2
  },
  "luminance": 0.00825
}

Semantic roles & 50–950 ramp

primary
#061438
secondary
#786021
accent
#C031F7
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020207
muted
#78787A

Preview Lab

Preview with #061438

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

Preview Lab → · Contrast checker → · Palette generator →

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