#061248#061248

#061248 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.8% C 0.101 H 266.7°. Best body text is #FFFFFF at 17.68:1 contrast (WCAG AA passes).

Color values

HEX#061248
RGBrgb(6, 18, 72)
HSLhsl(229, 85%, 15%)
HSVhsv(229, 92%, 28%)
CMYKcmyk(91.7%, 75%, 0%, 71.8%)
CIE-LABlab(8.47, 18.83, -34.89)
CIE-LCHlch(8.47, 39.64, 298.35°)
OKLaboklab(21.84% -0.0059 -0.1011)
OKLCHoklch(21.84% 0.101 266.7)
XYZxyz(1.4607, 0.9390, 6.2339)
Luminance0.0094 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#061248 #483C06
analogous
#063348 #061248 #1B0648
triadic
#061248 #480612 #124806
tetradic
#061248 #480633 #483C06 #06481B
square
#061248 #480633 #483C06 #06481B
split-complementary
#061248 #481B06 #334806
monochromatic
#02071C #02071C #061248 #0B2080 #0F2EB9

Accessibility & contrast

On white

17.68
#061248 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#061248 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #061248
17.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##061248#FFFFFF#000000##FFFFFF
##0612481.0017.681.1917.68
#FFFFFF17.681.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C4A
Deuteranopia (green-blind)
#001547
Tritanopia (blue-blind)
#00212B
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #061248;
/* rgb */ color: rgb(6, 18, 72);
/* oklch */ color: oklch(21.8% 0.101 266.7);
Tailwind
colors: {
  custom: {
    50: '#554f7c',
    500: '#061248',
    950: '#000000',
  },
}
SCSS
$custom: #061248;
$custom-light: #554f7c;
$custom-dark: #000000;
JSON
{
  "hex": "#061248",
  "rgb": {
    "r": 6,
    "g": 18,
    "b": 72
  },
  "hsl": {
    "h": 229.091,
    "s": 84.615,
    "l": 15.294
  },
  "oklch": {
    "l": 0.2184,
    "c": 0.10127,
    "h": 266.7
  },
  "luminance": 0.00939
}

Semantic roles & 50–950 ramp

primary
#061248
secondary
#877523
accent
#D52DFB
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#030209
muted
#78787B

Preview Lab

Preview with #061248

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

Preview Lab → · Contrast checker → · Palette generator →

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