#42599E#42599E

#42599E is a mid, moderate blue. Relative luminance 0.108; OKLCH L 48.0% C 0.115 H 268.0°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#42599E
RGBrgb(66, 89, 158)
HSLhsl(225, 41%, 44%)
HSVhsv(225, 58%, 62%)
CMYKcmyk(58.2%, 43.7%, 0%, 38%)
CIE-LABlab(39.19, 12.86, -40.25)
CIE-LCHlch(39.19, 42.25, 287.72°)
OKLaboklab(48.04% -0.0039 -0.1145)
OKLCHoklch(48.04% 0.115 268)
XYZxyz(11.9886, 10.7707, 33.7883)
Luminance0.1077 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42599E #9E8742
analogous
#42879E #42599E #59429E
triadic
#42599E #9E4259 #599E42
tetradic
#42599E #9E4287 #9E8742 #429E59
square
#42599E #9E4287 #9E8742 #429E59
split-complementary
#42599E #9E5942 #879E42
monochromatic
#1E2848 #304173 #42599E #6078BD #8C9CCF

Accessibility & contrast

On white

6.66
#42599E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#42599E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #42599E
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42599E#FFFFFF#000000##FFFFFF
##42599E1.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B61A1
Deuteranopia (green-blind)
#2F589D
Tritanopia (blue-blind)
#006874
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #42599e;
/* rgb */ color: rgb(66, 89, 158);
/* oklch */ color: oklch(48.0% 0.115 268.0);
Tailwind
colors: {
  custom: {
    50: '#7e87bb',
    500: '#42599e',
    950: '#000000',
  },
}
SCSS
$custom: #42599e;
$custom-light: #7e87bb;
$custom-dark: #000000;
JSON
{
  "hex": "#42599e",
  "rgb": {
    "r": 66,
    "g": 89,
    "b": 158
  },
  "hsl": {
    "h": 225,
    "s": 41.071,
    "l": 43.922
  },
  "oklch": {
    "l": 0.48035,
    "c": 0.11457,
    "h": 268
  },
  "luminance": 0.10772
}

Semantic roles & 50–950 ramp

primary
#42599E
secondary
#BAAC82
accent
#B257D1
background
#F8F8FB
surface
#EFEFF6
border
#CACAD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #42599E

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

Preview Lab → · Contrast checker → · Palette generator →

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