#42499C#42499C

#42499C is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.5% C 0.133 H 275.9°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#42499C
RGBrgb(66, 73, 156)
HSLhsl(235, 41%, 44%)
HSVhsv(235, 58%, 61%)
CMYKcmyk(57.7%, 53.2%, 0%, 38.8%)
CIE-LABlab(34.65, 22.58, -46.33)
CIE-LCHlch(34.65, 51.54, 295.98°)
OKLaboklab(44.54% 0.0138 -0.1325)
OKLCHoklch(44.54% 0.133 275.9)
XYZxyz(10.6281, 8.3229, 32.4925)
Luminance0.0832 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42499C #9C9542
analogous
#42769C #42499C #68429C
triadic
#42499C #9C4249 #499C42
tetradic
#42499C #9C4276 #9C9542 #429C68
square
#42499C #9C4276 #9C9542 #429C68
split-complementary
#42499C #9C6842 #769C42
monochromatic
#1E2146 #303571 #42499C #6067BC #8B90CE

Accessibility & contrast

On white

7.88
#42499C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#42499C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42499C
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42499C#FFFFFF#000000##FFFFFF
##42499C1.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A559F
Deuteranopia (green-blind)
#054E9A
Tritanopia (blue-blind)
#0D5C6B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #42499c;
/* rgb */ color: rgb(66, 73, 156);
/* oklch */ color: oklch(44.5% 0.133 275.9);
Tailwind
colors: {
  custom: {
    50: '#7e7bba',
    500: '#42499c',
    950: '#000000',
  },
}
SCSS
$custom: #42499c;
$custom-light: #7e7bba;
$custom-dark: #000000;
JSON
{
  "hex": "#42499c",
  "rgb": {
    "r": 66,
    "g": 73,
    "b": 156
  },
  "hsl": {
    "h": 235.333,
    "s": 40.541,
    "l": 43.529
  },
  "oklch": {
    "l": 0.44541,
    "c": 0.13327,
    "h": 275.9
  },
  "luminance": 0.08324
}

Semantic roles & 50–950 ramp

primary
#42499C
secondary
#B9B481
accent
#C757D0
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0912
muted
#7C7B81

Preview Lab

Preview with #42499C

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

Preview Lab → · Contrast checker → · Palette generator →

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