#42467B#42467B

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

Color values

HEX#42467B
RGBrgb(66, 70, 123)
HSLhsl(236, 30%, 37%)
HSVhsv(236, 46%, 48%)
CMYKcmyk(46.3%, 43.1%, 0%, 51.8%)
CIE-LABlab(31.73, 13.47, -30.74)
CIE-LCHlch(31.73, 33.56, 293.67°)
OKLaboklab(41.66% 0.0131 -0.0868)
OKLCHoklch(41.66% 0.088 278.6)
XYZxyz(8.0110, 6.9682, 19.6579)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42467B #7B7742
analogous
#42637B #42467B #5A427B
triadic
#42467B #7B4246 #467B42
tetradic
#42467B #7B4263 #7B7742 #427B5A
square
#42467B #7B4263 #7B7742 #427B5A
split-complementary
#42467B #7B5A42 #637B42
monochromatic
#17192B #2D2F53 #42467B #575DA3 #7E82BA

Accessibility & contrast

On white

8.77
#42467B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#42467B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42467B
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42467B#FFFFFF#000000##FFFFFF
##42467B1.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324D7D
Deuteranopia (green-blind)
#2E497A
Tritanopia (blue-blind)
#2F515A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #42467b;
/* rgb */ color: rgb(66, 70, 123);
/* oklch */ color: oklch(41.7% 0.088 278.6);
Tailwind
colors: {
  custom: {
    50: '#7a79a1',
    500: '#42467b',
    950: '#000000',
  },
}
SCSS
$custom: #42467b;
$custom-light: #7a79a1;
$custom-dark: #000000;
JSON
{
  "hex": "#42467b",
  "rgb": {
    "r": 66,
    "g": 70,
    "b": 123
  },
  "hsl": {
    "h": 235.789,
    "s": 30.159,
    "l": 37.059
  },
  "oklch": {
    "l": 0.41663,
    "c": 0.08779,
    "h": 278.6
  },
  "luminance": 0.06969
}

Semantic roles & 50–950 ramp

primary
#42467B
secondary
#A5A174
accent
#BF61C6
background
#F7F7F9
surface
#EEEDF2
border
#C9C8CC
text
#09090F
muted
#7B7B7E

Preview Lab

Preview with #42467B

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

Preview Lab → · Contrast checker → · Palette generator →

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