#42496D#42496D

#42496D is a dark, moderate blue. Relative luminance 0.070; OKLCH L 41.5% C 0.061 H 275.0°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#42496D
RGBrgb(66, 73, 109)
HSLhsl(230, 25%, 34%)
HSVhsv(230, 39%, 43%)
CMYKcmyk(39.4%, 33%, 0%, 57.3%)
CIE-LABlab(31.87, 7.06, -21.74)
CIE-LCHlch(31.87, 22.86, 288.00°)
OKLaboklab(41.52% 0.0053 -0.0607)
OKLCHoklch(41.52% 0.061 275)
XYZxyz(7.3888, 7.0272, 15.4321)
Luminance0.0703 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42496D #6D6642
analogous
#425F6D #42496D #51426D
triadic
#42496D #6D4249 #496D42
tetradic
#42496D #6D425F #6D6642 #426D51
square
#42496D #6D425F #6D6642 #426D51
split-complementary
#42496D #6D5142 #5F6D42
monochromatic
#141621 #2B2F47 #42496D #596393 #7B83AF

Accessibility & contrast

On white

8.73
#42496D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#42496D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42496D
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42496D#FFFFFF#000000##FFFFFF
##42496D1.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4D6F
Deuteranopia (green-blind)
#3A496C
Tritanopia (blue-blind)
#355056
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #42496d;
/* rgb */ color: rgb(66, 73, 109);
/* oklch */ color: oklch(41.5% 0.061 275.0);
Tailwind
colors: {
  custom: {
    50: '#787b97',
    500: '#42496d',
    950: '#000000',
  },
}
SCSS
$custom: #42496d;
$custom-light: #787b97;
$custom-dark: #000000;
JSON
{
  "hex": "#42496d",
  "rgb": {
    "r": 66,
    "g": 73,
    "b": 109
  },
  "hsl": {
    "h": 230.233,
    "s": 24.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.41523,
    "c": 0.06092,
    "h": 275
  },
  "luminance": 0.07027
}

Semantic roles & 50–950 ramp

primary
#42496D
secondary
#9A9470
accent
#B267C1
background
#F7F7F9
surface
#EDEDF2
border
#C8C8CC
text
#09090D
muted
#7B7B7E

Preview Lab

Preview with #42496D

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

Preview Lab → · Contrast checker → · Palette generator →

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