#42485E#42485E

#42485E is a dark, muted blue. Relative luminance 0.066; OKLCH L 40.5% C 0.038 H 272.8°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#42485E
RGBrgb(66, 72, 94)
HSLhsl(227, 18%, 31%)
HSVhsv(227, 30%, 37%)
CMYKcmyk(29.8%, 23.4%, 0%, 63.1%)
CIE-LABlab(30.88, 3.28, -13.75)
CIE-LCHlch(30.88, 14.14, 283.40°)
OKLaboklab(40.53% 0.0018 -0.0378)
OKLCHoklch(40.53% 0.038 272.8)
XYZxyz(6.5840, 6.6009, 11.5147)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42485E #5E5842
analogous
#42565E #42485E #4A425E
triadic
#42485E #5E4248 #485E42
tetradic
#42485E #5E4256 #5E5842 #425E4A
square
#42485E #5E4256 #5E5842 #425E4A
split-complementary
#42485E #5E4A42 #565E42
monochromatic
#101116 #292C3A #42485E #5B6482 #7982A1

Accessibility & contrast

On white

9.05
#42485E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#42485E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42485E
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42485E#FFFFFF#000000##FFFFFF
##42485E1.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414A5F
Deuteranopia (green-blind)
#3F485D
Tritanopia (blue-blind)
#3B4C4F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #42485e;
/* rgb */ color: rgb(66, 72, 94);
/* oklch */ color: oklch(40.5% 0.038 272.8);
Tailwind
colors: {
  custom: {
    50: '#777a8b',
    500: '#42485e',
    950: '#000000',
  },
}
SCSS
$custom: #42485e;
$custom-light: #777a8b;
$custom-dark: #000000;
JSON
{
  "hex": "#42485e",
  "rgb": {
    "r": 66,
    "g": 72,
    "b": 94
  },
  "hsl": {
    "h": 227.143,
    "s": 17.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40529,
    "c": 0.03789,
    "h": 272.8
  },
  "luminance": 0.06601
}

Semantic roles & 50–950 ramp

primary
#42485E
secondary
#8D876E
accent
#AA6EBA
background
#F7F7F8
surface
#EDEDF0
border
#C8C8CB
text
#08090C
muted
#7B7B7D

Preview Lab

Preview with #42485E

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

Preview Lab → · Contrast checker → · Palette generator →

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