#42377F#42377F

#42377F is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.9% C 0.117 H 286.6°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#42377F
RGBrgb(66, 55, 127)
HSLhsl(249, 40%, 36%)
HSVhsv(249, 57%, 50%)
CMYKcmyk(48%, 56.7%, 0%, 50.2%)
CIE-LABlab(27.91, 24.66, -39.35)
CIE-LCHlch(27.91, 46.44, 302.07°)
OKLaboklab(38.86% 0.0335 -0.1122)
OKLCHoklch(38.86% 0.117 286.6)
XYZxyz(7.4426, 5.4226, 20.7291)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42377F #747F37
analogous
#37507F #42377F #66377F
triadic
#42377F #7F4237 #377F42
tetradic
#42377F #7F3750 #747F37 #377F66
square
#42377F #7F3750 #747F37 #377F66
split-complementary
#42377F #7F6637 #507F37
monochromatic
#16122A #2C2554 #42377F #5849AA #7C70C1

Accessibility & contrast

On white

10.07
#42377F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#42377F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42377F
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42377F#FFFFFF#000000##FFFFFF
##42377F1.0010.072.0810.07
#FFFFFF10.071.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104481
Deuteranopia (green-blind)
#0E407D
Tritanopia (blue-blind)
#2E4755
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #42377f;
/* rgb */ color: rgb(66, 55, 127);
/* oklch */ color: oklch(38.9% 0.117 286.6);
Tailwind
colors: {
  custom: {
    50: '#7b6ea5',
    500: '#42377f',
    950: '#000000',
  },
}
SCSS
$custom: #42377f;
$custom-light: #7b6ea5;
$custom-dark: #000000;
JSON
{
  "hex": "#42377f",
  "rgb": {
    "r": 66,
    "g": 55,
    "b": 127
  },
  "hsl": {
    "h": 249.167,
    "s": 39.56,
    "l": 35.686
  },
  "oklch": {
    "l": 0.3886,
    "c": 0.11706,
    "h": 286.6
  },
  "luminance": 0.05423
}

Semantic roles & 50–950 ramp

primary
#42377F
secondary
#A0AA68
accent
#CF58BD
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A070F
muted
#7C7A7F

Preview Lab

Preview with #42377F

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

Preview Lab → · Contrast checker → · Palette generator →

#42377F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva