#42448C#42448C

#42448C is a dark, moderate blue. Relative luminance 0.072; OKLCH L 42.4% C 0.117 H 279.0°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#42448C
RGBrgb(66, 68, 140)
HSLhsl(238, 36%, 40%)
HSVhsv(238, 53%, 55%)
CMYKcmyk(52.9%, 51.4%, 0%, 45.1%)
CIE-LABlab(32.23, 20.42, -40.48)
CIE-LCHlch(32.23, 45.34, 296.76°)
OKLaboklab(42.37% 0.0182 -0.1154)
OKLCHoklch(42.37% 0.117 279)
XYZxyz(9.0460, 7.1854, 25.7161)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42448C #8C8A42
analogous
#42698C #42448C #65428C
triadic
#42448C #8C4244 #448C42
tetradic
#42448C #8C4269 #8C8A42 #428C65
square
#42448C #8C4269 #8C8A42 #428C65
split-complementary
#42448C #8C6542 #698C42
monochromatic
#1B1C39 #2E3062 #42448C #5A5CB1 #8485C5

Accessibility & contrast

On white

8.62
#42448C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#42448C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42448C
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42448C#FFFFFF#000000##FFFFFF
##42448C1.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214F8F
Deuteranopia (green-blind)
#19498A
Tritanopia (blue-blind)
#235461
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #42448c;
/* rgb */ color: rgb(66, 68, 140);
/* oklch */ color: oklch(42.4% 0.117 279.0);
Tailwind
colors: {
  custom: {
    50: '#7c77ae',
    500: '#42448c',
    950: '#000000',
  },
}
SCSS
$custom: #42448c;
$custom-light: #7c77ae;
$custom-dark: #000000;
JSON
{
  "hex": "#42448c",
  "rgb": {
    "r": 66,
    "g": 68,
    "b": 140
  },
  "hsl": {
    "h": 238.378,
    "s": 35.922,
    "l": 40.392
  },
  "oklch": {
    "l": 0.42374,
    "c": 0.11682,
    "h": 279
  },
  "luminance": 0.07186
}

Semantic roles & 50–950 ramp

primary
#42448C
secondary
#B0AE7A
accent
#C95CCC
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#0A0810
muted
#7C7B7F

Preview Lab

Preview with #42448C

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

Preview Lab → · Contrast checker → · Palette generator →

#42448C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva