#42599F#42599F

#42599F is a mid, moderate blue. Relative luminance 0.108; OKLCH L 48.1% C 0.116 H 268.2°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#42599F
RGBrgb(66, 89, 159)
HSLhsl(225, 41%, 44%)
HSVhsv(225, 58%, 62%)
CMYKcmyk(58.5%, 44%, 0%, 37.6%)
CIE-LABlab(39.25, 13.21, -40.75)
CIE-LCHlch(39.25, 42.84, 287.96°)
OKLaboklab(48.1% -0.0037 -0.116)
OKLCHoklch(48.1% 0.116 268.2)
XYZxyz(12.0751, 10.8053, 34.2435)
Luminance0.1081 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42599F #9F8842
analogous
#42889F #42599F #5A429F
triadic
#42599F #9F4259 #599F42
tetradic
#42599F #9F4288 #9F8842 #429F5A
square
#42599F #9F4288 #9F8842 #429F5A
split-complementary
#42599F #9F5A42 #889F42
monochromatic
#1E2949 #304174 #42599F #6178BD #8C9DCF

Accessibility & contrast

On white

6.64
#42599F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#42599F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #42599F
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42599F#FFFFFF#000000##FFFFFF
##42599F1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A61A2
Deuteranopia (green-blind)
#2E599E
Tritanopia (blue-blind)
#006974
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #42599f;
/* rgb */ color: rgb(66, 89, 159);
/* oklch */ color: oklch(48.1% 0.116 268.2);
Tailwind
colors: {
  custom: {
    50: '#7e87bc',
    500: '#42599f',
    950: '#000000',
  },
}
SCSS
$custom: #42599f;
$custom-light: #7e87bc;
$custom-dark: #000000;
JSON
{
  "hex": "#42599f",
  "rgb": {
    "r": 66,
    "g": 89,
    "b": 159
  },
  "hsl": {
    "h": 225.161,
    "s": 41.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.48099,
    "c": 0.11604,
    "h": 268.2
  },
  "luminance": 0.10806
}

Semantic roles & 50–950 ramp

primary
#42599F
secondary
#BAAD82
accent
#B357D1
background
#F8F8FB
surface
#EFEFF6
border
#CACAD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #42599F

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

Preview Lab → · Contrast checker → · Palette generator →

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