#42579B#42579B

#42579B is a mid, moderate blue. Relative luminance 0.103; OKLCH L 47.4% C 0.113 H 268.9°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#42579B
RGBrgb(66, 87, 155)
HSLhsl(226, 40%, 43%)
HSVhsv(226, 57%, 61%)
CMYKcmyk(57.4%, 43.9%, 0%, 39.2%)
CIE-LABlab(38.45, 13.11, -39.64)
CIE-LCHlch(38.45, 41.75, 288.31°)
OKLaboklab(47.41% -0.0022 -0.1127)
OKLCHoklch(47.41% 0.113 268.9)
XYZxyz(11.5694, 10.3403, 32.3902)
Luminance0.1034 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42579B #9B8642
analogous
#42839B #42579B #5A429B
triadic
#42579B #9B4257 #579B42
tetradic
#42579B #9B4283 #9B8642 #429B5A
square
#42579B #9B4283 #9B8642 #429B5A
split-complementary
#42579B #9B5A42 #839B42
monochromatic
#1D2745 #303F70 #42579B #5F75BB #8A9ACD

Accessibility & contrast

On white

6.84
#42579B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#42579B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #42579B
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42579B#FFFFFF#000000##FFFFFF
##42579B1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395F9E
Deuteranopia (green-blind)
#2E579A
Tritanopia (blue-blind)
#086671
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #42579b;
/* rgb */ color: rgb(66, 87, 155);
/* oklch */ color: oklch(47.4% 0.113 268.9);
Tailwind
colors: {
  custom: {
    50: '#7e86b9',
    500: '#42579b',
    950: '#000000',
  },
}
SCSS
$custom: #42579b;
$custom-light: #7e86b9;
$custom-dark: #000000;
JSON
{
  "hex": "#42579b",
  "rgb": {
    "r": 66,
    "g": 87,
    "b": 155
  },
  "hsl": {
    "h": 225.843,
    "s": 40.271,
    "l": 43.333
  },
  "oklch": {
    "l": 0.47406,
    "c": 0.11276,
    "h": 268.9
  },
  "luminance": 0.10341
}

Semantic roles & 50–950 ramp

primary
#42579B
secondary
#B8AB81
accent
#B458D0
background
#F8F8FB
surface
#EFEFF6
border
#CACAD0
text
#0A0B11
muted
#7C7C80

Preview Lab

Preview with #42579B

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

Preview Lab → · Contrast checker → · Palette generator →

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