#42467E#42467E

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

Color values

HEX#42467E
RGBrgb(66, 70, 126)
HSLhsl(236, 31%, 38%)
HSVhsv(236, 48%, 49%)
CMYKcmyk(47.6%, 44.4%, 0%, 50.6%)
CIE-LABlab(31.91, 14.45, -32.33)
CIE-LCHlch(31.91, 35.41, 294.08°)
OKLaboklab(41.85% 0.0137 -0.0915)
OKLCHoklch(41.85% 0.092 278.5)
XYZxyz(8.2017, 7.0445, 20.6622)
Luminance0.0704 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42467E #7E7A42
analogous
#42647E #42467E #5C427E
triadic
#42467E #7E4246 #467E42
tetradic
#42467E #7E4264 #7E7A42 #427E5C
square
#42467E #7E4264 #7E7A42 #427E5C
split-complementary
#42467E #7E5C42 #647E42
monochromatic
#18192E #2D3056 #42467E #575CA6 #7F83BC

Accessibility & contrast

On white

8.72
#42467E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#42467E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42467E
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42467E#FFFFFF#000000##FFFFFF
##42467E1.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304D80
Deuteranopia (green-blind)
#2C497D
Tritanopia (blue-blind)
#2D525C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #42467e;
/* rgb */ color: rgb(66, 70, 126);
/* oklch */ color: oklch(41.9% 0.092 278.5);
Tailwind
colors: {
  custom: {
    50: '#7a79a4',
    500: '#42467e',
    950: '#000000',
  },
}
SCSS
$custom: #42467e;
$custom-light: #7a79a4;
$custom-dark: #000000;
JSON
{
  "hex": "#42467e",
  "rgb": {
    "r": 66,
    "g": 70,
    "b": 126
  },
  "hsl": {
    "h": 236,
    "s": 31.25,
    "l": 37.647
  },
  "oklch": {
    "l": 0.41852,
    "c": 0.09249,
    "h": 278.5
  },
  "luminance": 0.07045
}

Semantic roles & 50–950 ramp

primary
#42467E
secondary
#A7A375
accent
#C160C7
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#09090F
muted
#7B7B7F

Preview Lab

Preview with #42467E

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

Preview Lab → · Contrast checker → · Palette generator →

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