#42499A#42499A

#42499A is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.4% C 0.130 H 276.0°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#42499A
RGBrgb(66, 73, 154)
HSLhsl(235, 40%, 43%)
HSVhsv(235, 57%, 60%)
CMYKcmyk(57.1%, 52.6%, 0%, 39.6%)
CIE-LABlab(34.51, 21.89, -45.34)
CIE-LCHlch(34.51, 50.35, 295.78°)
OKLaboklab(44.39% 0.0136 -0.1296)
OKLCHoklch(44.39% 0.13 276)
XYZxyz(10.4602, 8.2557, 31.6079)
Luminance0.0826 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42499A #9A9342
analogous
#42759A #42499A #67429A
triadic
#42499A #9A4249 #499A42
tetradic
#42499A #9A4275 #9A9342 #429A67
square
#42499A #9A4275 #9A9342 #429A67
split-complementary
#42499A #9A6742 #759A42
monochromatic
#1D2044 #30356F #42499A #5F66BA #8A8FCD

Accessibility & contrast

On white

7.92
#42499A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#42499A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42499A
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42499A#FFFFFF#000000##FFFFFF
##42499A1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D559D
Deuteranopia (green-blind)
#0C4E98
Tritanopia (blue-blind)
#115B6A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #42499a;
/* rgb */ color: rgb(66, 73, 154);
/* oklch */ color: oklch(44.4% 0.130 276.0);
Tailwind
colors: {
  custom: {
    50: '#7e7bb8',
    500: '#42499a',
    950: '#000000',
  },
}
SCSS
$custom: #42499a;
$custom-light: #7e7bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#42499a",
  "rgb": {
    "r": 66,
    "g": 73,
    "b": 154
  },
  "hsl": {
    "h": 235.227,
    "s": 40,
    "l": 43.137
  },
  "oklch": {
    "l": 0.44394,
    "c": 0.13036,
    "h": 276
  },
  "luminance": 0.08256
}

Semantic roles & 50–950 ramp

primary
#42499A
secondary
#B8B380
accent
#C658D0
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0A0911
muted
#7C7B80

Preview Lab

Preview with #42499A

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

Preview Lab → · Contrast checker → · Palette generator →

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