#42499D#42499D

#42499D is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.6% C 0.135 H 275.9°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#42499D
RGBrgb(66, 73, 157)
HSLhsl(235, 41%, 44%)
HSVhsv(235, 58%, 62%)
CMYKcmyk(58%, 53.5%, 0%, 38.4%)
CIE-LABlab(34.72, 22.93, -46.82)
CIE-LCHlch(34.72, 52.13, 296.09°)
OKLaboklab(44.62% 0.0139 -0.134)
OKLCHoklch(44.62% 0.135 275.9)
XYZxyz(10.7132, 8.3569, 32.9403)
Luminance0.0836 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42499D #9D9642
analogous
#42769D #42499D #68429D
triadic
#42499D #9D4249 #499D42
tetradic
#42499D #9D4276 #9D9642 #429D68
square
#42499D #9D4276 #9D9642 #429D68
split-complementary
#42499D #9D6842 #769D42
monochromatic
#1E2147 #303572 #42499D #6067BC #8B90CE

Accessibility & contrast

On white

7.86
#42499D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#42499D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42499D
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42499D#FFFFFF#000000##FFFFFF
##42499D1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1856A0
Deuteranopia (green-blind)
#024E9B
Tritanopia (blue-blind)
#0A5C6C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #42499d;
/* rgb */ color: rgb(66, 73, 157);
/* oklch */ color: oklch(44.6% 0.135 275.9);
Tailwind
colors: {
  custom: {
    50: '#7f7bba',
    500: '#42499d',
    950: '#000000',
  },
}
SCSS
$custom: #42499d;
$custom-light: #7f7bba;
$custom-dark: #000000;
JSON
{
  "hex": "#42499d",
  "rgb": {
    "r": 66,
    "g": 73,
    "b": 157
  },
  "hsl": {
    "h": 235.385,
    "s": 40.807,
    "l": 43.725
  },
  "oklch": {
    "l": 0.44615,
    "c": 0.13471,
    "h": 275.9
  },
  "luminance": 0.08358
}

Semantic roles & 50–950 ramp

primary
#42499D
secondary
#B9B582
accent
#C757D1
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0912
muted
#7C7B81

Preview Lab

Preview with #42499D

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

Preview Lab → · Contrast checker → · Palette generator →

#42499D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva