#42488E#42488E

#42488E is a dark, moderate blue. Relative luminance 0.077; OKLCH L 43.3% C 0.114 H 276.8°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#42488E
RGBrgb(66, 72, 142)
HSLhsl(235, 37%, 41%)
HSVhsv(235, 54%, 56%)
CMYKcmyk(53.5%, 49.3%, 0%, 44.3%)
CIE-LABlab(33.45, 18.46, -39.75)
CIE-LCHlch(33.45, 43.83, 294.91°)
OKLaboklab(43.34% 0.0136 -0.1132)
OKLCHoklch(43.34% 0.114 276.8)
XYZxyz(9.4451, 7.7454, 26.5833)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42488E #8E8842
analogous
#426E8E #42488E #62428E
triadic
#42488E #8E4248 #488E42
tetradic
#42488E #8E426E #8E8842 #428E62
square
#42488E #8E426E #8E8842 #428E62
split-complementary
#42488E #8E6242 #6E8E42
monochromatic
#1B1E3A #2F3364 #42488E #5B62B3 #848AC6

Accessibility & contrast

On white

8.24
#42488E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#42488E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42488E
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42488E#FFFFFF#000000##FFFFFF
##42488E1.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285291
Deuteranopia (green-blind)
#204C8C
Tritanopia (blue-blind)
#215764
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #42488e;
/* rgb */ color: rgb(66, 72, 142);
/* oklch */ color: oklch(43.3% 0.114 276.8);
Tailwind
colors: {
  custom: {
    50: '#7c7aaf',
    500: '#42488e',
    950: '#000000',
  },
}
SCSS
$custom: #42488e;
$custom-light: #7c7aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#42488e",
  "rgb": {
    "r": 66,
    "g": 72,
    "b": 142
  },
  "hsl": {
    "h": 235.263,
    "s": 36.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.43338,
    "c": 0.11402,
    "h": 276.8
  },
  "luminance": 0.07746
}

Semantic roles & 50–950 ramp

primary
#42488E
secondary
#B1AD7B
accent
#C45BCD
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#0A0910
muted
#7C7B7F

Preview Lab

Preview with #42488E

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

Preview Lab → · Contrast checker → · Palette generator →

#42488E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva