#42499B#42499B

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

Color values

HEX#42499B
RGBrgb(66, 73, 155)
HSLhsl(235, 40%, 43%)
HSVhsv(235, 57%, 61%)
CMYKcmyk(57.4%, 52.9%, 0%, 39.2%)
CIE-LABlab(34.58, 22.24, -45.84)
CIE-LCHlch(34.58, 50.94, 295.88°)
OKLaboklab(44.47% 0.0137 -0.1311)
OKLCHoklch(44.47% 0.132 276)
XYZxyz(10.5438, 8.2892, 32.0483)
Luminance0.0829 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42499B #9B9442
analogous
#42759B #42499B #67429B
triadic
#42499B #9B4249 #499B42
tetradic
#42499B #9B4275 #9B9442 #429B67
square
#42499B #9B4275 #9B9442 #429B67
split-complementary
#42499B #9B6742 #759B42
monochromatic
#1D2145 #303570 #42499B #5F66BB #8A8FCD

Accessibility & contrast

On white

7.90
#42499B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42499B
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42499B#FFFFFF#000000##FFFFFF
##42499B1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B559E
Deuteranopia (green-blind)
#094E99
Tritanopia (blue-blind)
#0F5C6B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #42499b;
/* rgb */ color: rgb(66, 73, 155);
/* oklch */ color: oklch(44.5% 0.132 276.0);
Tailwind
colors: {
  custom: {
    50: '#7e7bb9',
    500: '#42499b',
    950: '#000000',
  },
}
SCSS
$custom: #42499b;
$custom-light: #7e7bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#42499b",
  "rgb": {
    "r": 66,
    "g": 73,
    "b": 155
  },
  "hsl": {
    "h": 235.281,
    "s": 40.271,
    "l": 43.333
  },
  "oklch": {
    "l": 0.44467,
    "c": 0.13181,
    "h": 276
  },
  "luminance": 0.0829
}

Semantic roles & 50–950 ramp

primary
#42499B
secondary
#B8B481
accent
#C758D0
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0911
muted
#7C7B80

Preview Lab

Preview with #42499B

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

Preview Lab → · Contrast checker → · Palette generator →

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