#060338#060338

#060338 is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.8% C 0.098 H 272.3°. Best body text is #FFFFFF at 19.48:1 contrast (WCAG AA passes).

Color values

HEX#060338
RGBrgb(6, 3, 56)
HSLhsl(243, 90%, 12%)
HSVhsv(243, 95%, 22%)
CMYKcmyk(89.3%, 94.6%, 0%, 78%)
CIE-LABlab(3.52, 18.48, -31.55)
CIE-LCHlch(3.52, 36.57, 300.36°)
OKLaboklab(16.8% 0.0039 -0.0976)
OKLCHoklch(16.8% 0.098 272.3)
XYZxyz(0.8212, 0.3893, 3.7725)
Luminance0.0039 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060338 #353803
analogous
#031B38 #060338 #210338
triadic
#060338 #380603 #033806
tetradic
#060338 #38031B #353803 #033821
square
#060338 #38031B #353803 #033821
split-complementary
#060338 #382103 #1B3803
monochromatic
#03021D #03021D #060338 #0C0672 #1209AC

Accessibility & contrast

On white

19.48
#060338 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#060338 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #060338
19.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060338#FFFFFF#000000##FFFFFF
##0603381.0019.481.0819.48
#FFFFFF19.481.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F39
Deuteranopia (green-blind)
#000A37
Tritanopia (blue-blind)
#00131E
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #060338;
/* rgb */ color: rgb(6, 3, 56);
/* oklch */ color: oklch(16.8% 0.098 272.3);
Tailwind
colors: {
  custom: {
    50: '#4e476f',
    500: '#060338',
    950: '#000000',
  },
}
SCSS
$custom: #060338;
$custom-light: #4e476f;
$custom-dark: #000000;
JSON
{
  "hex": "#060338",
  "rgb": {
    "r": 6,
    "g": 3,
    "b": 56
  },
  "hsl": {
    "h": 243.396,
    "s": 89.831,
    "l": 11.569
  },
  "oklch": {
    "l": 0.16801,
    "c": 0.09766,
    "h": 272.3
  },
  "luminance": 0.00389
}

Semantic roles & 50–950 ramp

primary
#060338
secondary
#757B1C
accent
#FF29F3
background
#F4F3F6
surface
#E7E5EC
border
#C3C1C7
text
#020007
muted
#78777A

Preview Lab

Preview with #060338

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

Preview Lab → · Contrast checker → · Palette generator →

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