#42499F#42499F

#42499F is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.8% C 0.138 H 275.8°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#42499F
RGBrgb(66, 73, 159)
HSLhsl(235, 41%, 44%)
HSVhsv(235, 58%, 62%)
CMYKcmyk(58.5%, 54.1%, 0%, 37.6%)
CIE-LABlab(34.85, 23.61, -47.80)
CIE-LCHlch(34.85, 53.32, 296.29°)
OKLaboklab(44.76% 0.014 -0.1369)
OKLCHoklch(44.76% 0.138 275.8)
XYZxyz(10.8853, 8.4258, 33.8469)
Luminance0.0843 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42499F #9F9842
analogous
#42789F #42499F #6A429F
triadic
#42499F #9F4249 #499F42
tetradic
#42499F #9F4278 #9F9842 #429F6A
square
#42499F #9F4278 #9F9842 #429F6A
split-complementary
#42499F #9F6A42 #789F42
monochromatic
#1E2149 #303574 #42499F #6168BD #8C91CF

Accessibility & contrast

On white

7.82
#42499F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#42499F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42499F
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42499F#FFFFFF#000000##FFFFFF
##42499F1.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1556A2
Deuteranopia (green-blind)
#004E9D
Tritanopia (blue-blind)
#045D6D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #42499f;
/* rgb */ color: rgb(66, 73, 159);
/* oklch */ color: oklch(44.8% 0.138 275.8);
Tailwind
colors: {
  custom: {
    50: '#7f7bbc',
    500: '#42499f',
    950: '#000000',
  },
}
SCSS
$custom: #42499f;
$custom-light: #7f7bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#42499f",
  "rgb": {
    "r": 66,
    "g": 73,
    "b": 159
  },
  "hsl": {
    "h": 235.484,
    "s": 41.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.44763,
    "c": 0.13759,
    "h": 275.8
  },
  "luminance": 0.08427
}

Semantic roles & 50–950 ramp

primary
#42499F
secondary
#BAB682
accent
#C857D1
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0912
muted
#7C7B81

Preview Lab

Preview with #42499F

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

Preview Lab → · Contrast checker → · Palette generator →

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