#42468C#42468C

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

Color values

HEX#42468C
RGBrgb(66, 70, 140)
HSLhsl(237, 36%, 40%)
HSVhsv(237, 53%, 55%)
CMYKcmyk(52.9%, 50%, 0%, 45.1%)
CIE-LABlab(32.77, 19.10, -39.61)
CIE-LCHlch(32.77, 43.97, 295.75°)
OKLaboklab(42.79% 0.0158 -0.1128)
OKLCHoklch(42.79% 0.114 278)
XYZxyz(9.1691, 7.4315, 25.7571)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42468C #8C8842
analogous
#426B8C #42468C #63428C
triadic
#42468C #8C4246 #468C42
tetradic
#42468C #8C426B #8C8842 #428C63
square
#42468C #8C426B #8C8842 #428C63
split-complementary
#42468C #8C6342 #6B8C42
monochromatic
#1B1C39 #2E3162 #42468C #5A5FB1 #8487C5

Accessibility & contrast

On white

8.45
#42468C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#42468C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42468C
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42468C#FFFFFF#000000##FFFFFF
##42468C1.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26508F
Deuteranopia (green-blind)
#1E4A8A
Tritanopia (blue-blind)
#235562
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #42468c;
/* rgb */ color: rgb(66, 70, 140);
/* oklch */ color: oklch(42.8% 0.114 278.0);
Tailwind
colors: {
  custom: {
    50: '#7c79ae',
    500: '#42468c',
    950: '#000000',
  },
}
SCSS
$custom: #42468c;
$custom-light: #7c79ae;
$custom-dark: #000000;
JSON
{
  "hex": "#42468c",
  "rgb": {
    "r": 66,
    "g": 70,
    "b": 140
  },
  "hsl": {
    "h": 236.757,
    "s": 35.922,
    "l": 40.392
  },
  "oklch": {
    "l": 0.42785,
    "c": 0.11391,
    "h": 278
  },
  "luminance": 0.07432
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #42468C

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

Preview Lab → · Contrast checker → · Palette generator →

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