#42468B#42468B

#42468B is a dark, moderate blue. Relative luminance 0.074; OKLCH L 42.7% C 0.112 H 278.0°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#42468B
RGBrgb(66, 70, 139)
HSLhsl(237, 36%, 40%)
HSVhsv(237, 53%, 55%)
CMYKcmyk(52.5%, 49.6%, 0%, 45.5%)
CIE-LABlab(32.71, 18.76, -39.10)
CIE-LCHlch(32.71, 43.37, 295.64°)
OKLaboklab(42.72% 0.0157 -0.1113)
OKLCHoklch(42.72% 0.112 278)
XYZxyz(9.0957, 7.4021, 25.3706)
Luminance0.0740 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42468B #8B8742
analogous
#426B8B #42468B #62428B
triadic
#42468B #8B4246 #468B42
tetradic
#42468B #8B426B #8B8742 #428B62
square
#42468B #8B426B #8B8742 #428B62
split-complementary
#42468B #8B6242 #6B8B42
monochromatic
#1B1C38 #2E3162 #42468B #5A5EB1 #8387C4

Accessibility & contrast

On white

8.47
#42468B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#42468B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42468B
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42468B#FFFFFF#000000##FFFFFF
##42468B1.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27508E
Deuteranopia (green-blind)
#1F4A89
Tritanopia (blue-blind)
#245562
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #42468b;
/* rgb */ color: rgb(66, 70, 139);
/* oklch */ color: oklch(42.7% 0.112 278.0);
Tailwind
colors: {
  custom: {
    50: '#7c79ad',
    500: '#42468b',
    950: '#000000',
  },
}
SCSS
$custom: #42468b;
$custom-light: #7c79ad;
$custom-dark: #000000;
JSON
{
  "hex": "#42468b",
  "rgb": {
    "r": 66,
    "g": 70,
    "b": 139
  },
  "hsl": {
    "h": 236.712,
    "s": 35.61,
    "l": 40.196
  },
  "oklch": {
    "l": 0.42715,
    "c": 0.11241,
    "h": 278
  },
  "luminance": 0.07403
}

Semantic roles & 50–950 ramp

primary
#42468B
secondary
#AFAC7A
accent
#C65CCC
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#0A0910
muted
#7C7B7F

Preview Lab

Preview with #42468B

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

Preview Lab → · Contrast checker → · Palette generator →

#42468B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva