#42548E#42548E

#42548E is a mid, moderate blue. Relative luminance 0.095; OKLCH L 45.9% C 0.097 H 269.3°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#42548E
RGBrgb(66, 84, 142)
HSLhsl(226, 37%, 41%)
HSVhsv(226, 54%, 56%)
CMYKcmyk(53.5%, 40.8%, 0%, 44.3%)
CIE-LABlab(36.84, 10.61, -34.34)
CIE-LCHlch(36.84, 35.95, 287.17°)
OKLaboklab(45.93% -0.0012 -0.0973)
OKLCHoklch(45.93% 0.097 269.3)
XYZxyz(10.2980, 9.4512, 26.8676)
Luminance0.0945 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42548E #8E7C42
analogous
#427A8E #42548E #56428E
triadic
#42548E #8E4254 #548E42
tetradic
#42548E #8E427A #8E7C42 #428E56
square
#42548E #8E427A #8E7C42 #428E56
split-complementary
#42548E #8E5642 #7A8E42
monochromatic
#1B233A #2F3B64 #42548E #5B6FB3 #8494C6

Accessibility & contrast

On white

7.27
#42548E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#42548E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42548E
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42548E#FFFFFF#000000##FFFFFF
##42548E1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5A90
Deuteranopia (green-blind)
#34548D
Tritanopia (blue-blind)
#1E606A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #42548e;
/* rgb */ color: rgb(66, 84, 142);
/* oklch */ color: oklch(45.9% 0.097 269.3);
Tailwind
colors: {
  custom: {
    50: '#7c83af',
    500: '#42548e',
    950: '#000000',
  },
}
SCSS
$custom: #42548e;
$custom-light: #7c83af;
$custom-dark: #000000;
JSON
{
  "hex": "#42548e",
  "rgb": {
    "r": 66,
    "g": 84,
    "b": 142
  },
  "hsl": {
    "h": 225.789,
    "s": 36.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.45928,
    "c": 0.09727,
    "h": 269.3
  },
  "luminance": 0.09452
}

Semantic roles & 50–950 ramp

primary
#42548E
secondary
#B1A47B
accent
#B25BCD
background
#F7F8FA
surface
#EEEFF4
border
#C9CACE
text
#0A0A10
muted
#7C7C7F

Preview Lab

Preview with #42548E

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

Preview Lab → · Contrast checker → · Palette generator →

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