#42467F#42467F

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

Color values

HEX#42467F
RGBrgb(66, 70, 127)
HSLhsl(236, 32%, 38%)
HSVhsv(236, 48%, 50%)
CMYKcmyk(48%, 44.9%, 0%, 50.2%)
CIE-LABlab(31.97, 14.78, -32.86)
CIE-LCHlch(31.97, 36.03, 294.21°)
OKLaboklab(41.92% 0.0139 -0.093)
OKLCHoklch(41.92% 0.094 278.5)
XYZxyz(8.2665, 7.0704, 21.0037)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42467F #7F7B42
analogous
#42647F #42467F #5D427F
triadic
#42467F #7F4246 #467F42
tetradic
#42467F #7F4264 #7F7B42 #427F5D
square
#42467F #7F4264 #7F7B42 #427F5D
split-complementary
#42467F #7F5D42 #647F42
monochromatic
#181A2E #2D3057 #42467F #575CA7 #7F83BC

Accessibility & contrast

On white

8.70
#42467F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42467F
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42467F#FFFFFF#000000##FFFFFF
##42467F1.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #42467f;
/* rgb */ color: rgb(66, 70, 127);
/* oklch */ color: oklch(41.9% 0.094 278.5);
Tailwind
colors: {
  custom: {
    50: '#7a79a4',
    500: '#42467f',
    950: '#000000',
  },
}
SCSS
$custom: #42467f;
$custom-light: #7a79a4;
$custom-dark: #000000;
JSON
{
  "hex": "#42467f",
  "rgb": {
    "r": 66,
    "g": 70,
    "b": 127
  },
  "hsl": {
    "h": 236.066,
    "s": 31.606,
    "l": 37.843
  },
  "oklch": {
    "l": 0.41916,
    "c": 0.09405,
    "h": 278.5
  },
  "luminance": 0.07071
}

Semantic roles & 50–950 ramp

primary
#42467F
secondary
#A7A475
accent
#C160C8
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#09090F
muted
#7B7B7F

Preview Lab

Preview with #42467F

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

Preview Lab → · Contrast checker → · Palette generator →

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