#42467D#42467D

#42467D is a dark, moderate blue. Relative luminance 0.070; OKLCH L 41.8% C 0.091 H 278.5°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#42467D
RGBrgb(66, 70, 125)
HSLhsl(236, 31%, 37%)
HSVhsv(236, 47%, 49%)
CMYKcmyk(47.2%, 44%, 0%, 51%)
CIE-LABlab(31.85, 14.12, -31.80)
CIE-LCHlch(31.85, 34.80, 293.95°)
OKLaboklab(41.79% 0.0135 -0.0899)
OKLCHoklch(41.79% 0.091 278.5)
XYZxyz(8.1375, 7.0188, 20.3241)
Luminance0.0702 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42467D #7D7942
analogous
#42647D #42467D #5B427D
triadic
#42467D #7D4246 #467D42
tetradic
#42467D #7D4264 #7D7942 #427D5B
square
#42467D #7D4264 #7D7942 #427D5B
split-complementary
#42467D #7D5B42 #647D42
monochromatic
#18192D #2D3055 #42467D #575CA5 #7E82BB

Accessibility & contrast

On white

8.74
#42467D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#42467D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42467D
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42467D#FFFFFF#000000##FFFFFF
##42467D1.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314D7F
Deuteranopia (green-blind)
#2D497C
Tritanopia (blue-blind)
#2E515B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #42467d;
/* rgb */ color: rgb(66, 70, 125);
/* oklch */ color: oklch(41.8% 0.091 278.5);
Tailwind
colors: {
  custom: {
    50: '#7a79a3',
    500: '#42467d',
    950: '#000000',
  },
}
SCSS
$custom: #42467d;
$custom-light: #7a79a3;
$custom-dark: #000000;
JSON
{
  "hex": "#42467d",
  "rgb": {
    "r": 66,
    "g": 70,
    "b": 125
  },
  "hsl": {
    "h": 235.932,
    "s": 30.89,
    "l": 37.451
  },
  "oklch": {
    "l": 0.41789,
    "c": 0.09093,
    "h": 278.5
  },
  "luminance": 0.07019
}

Semantic roles & 50–950 ramp

primary
#42467D
secondary
#A6A375
accent
#C061C7
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#09090F
muted
#7B7B7F

Preview Lab

Preview with #42467D

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

Preview Lab → · Contrast checker → · Palette generator →

#42467D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva