#42467C#42467C

#42467C is a dark, moderate blue. Relative luminance 0.070; OKLCH L 41.7% C 0.089 H 278.6°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#42467C
RGBrgb(66, 70, 124)
HSLhsl(236, 31%, 37%)
HSVhsv(236, 47%, 49%)
CMYKcmyk(46.8%, 43.5%, 0%, 51.4%)
CIE-LABlab(31.79, 13.80, -31.27)
CIE-LCHlch(31.79, 34.18, 293.81°)
OKLaboklab(41.73% 0.0133 -0.0884)
OKLCHoklch(41.73% 0.089 278.6)
XYZxyz(8.0739, 6.9934, 19.9893)
Luminance0.0699 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42467C #7C7842
analogous
#42637C #42467C #5B427C
triadic
#42467C #7C4246 #467C42
tetradic
#42467C #7C4263 #7C7842 #427C5B
square
#42467C #7C4263 #7C7842 #427C5B
split-complementary
#42467C #7C5B42 #637C42
monochromatic
#17192C #2D2F54 #42467C #575DA4 #7E82BA

Accessibility & contrast

On white

8.75
#42467C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42467C
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42467C#FFFFFF#000000##FFFFFF
##42467C1.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324D7E
Deuteranopia (green-blind)
#2D497B
Tritanopia (blue-blind)
#2E515B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #42467c;
/* rgb */ color: rgb(66, 70, 124);
/* oklch */ color: oklch(41.7% 0.089 278.6);
Tailwind
colors: {
  custom: {
    50: '#7a79a2',
    500: '#42467c',
    950: '#000000',
  },
}
SCSS
$custom: #42467c;
$custom-light: #7a79a2;
$custom-dark: #000000;
JSON
{
  "hex": "#42467c",
  "rgb": {
    "r": 66,
    "g": 70,
    "b": 124
  },
  "hsl": {
    "h": 235.862,
    "s": 30.526,
    "l": 37.255
  },
  "oklch": {
    "l": 0.41726,
    "c": 0.08937,
    "h": 278.6
  },
  "luminance": 0.06994
}

Semantic roles & 50–950 ramp

primary
#42467C
secondary
#A5A275
accent
#C061C7
background
#F7F7FA
surface
#EEEDF3
border
#C9C8CD
text
#09090F
muted
#7B7B7F

Preview Lab

Preview with #42467C

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

Preview Lab → · Contrast checker → · Palette generator →

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