#42368B#42368B

#42368B is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.6% C 0.136 H 284.8°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#42368B
RGBrgb(66, 54, 139)
HSLhsl(248, 44%, 38%)
HSVhsv(248, 61%, 55%)
CMYKcmyk(52.5%, 61.2%, 0%, 45.5%)
CIE-LABlab(28.54, 29.18, -45.81)
CIE-LCHlch(28.54, 54.31, 302.50°)
OKLaboklab(39.61% 0.0346 -0.1312)
OKLCHoklch(39.61% 0.136 284.8)
XYZxyz(8.2247, 5.6602, 25.0802)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42368B #7F8B36
analogous
#36548B #42368B #6D368B
triadic
#42368B #8B4236 #368B42
tetradic
#42368B #8B3654 #7F8B36 #368B6D
square
#42368B #8B3654 #7F8B36 #368B6D
split-complementary
#42368B #8B6D36 #548B36
monochromatic
#181433 #2D255F #42368B #5747B7 #7F73C9

Accessibility & contrast

On white

9.85
#42368B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#42368B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42368B
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42368B#FFFFFF#000000##FFFFFF
##42368B1.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468E
Deuteranopia (green-blind)
#004189
Tritanopia (blue-blind)
#264A5B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #42368b;
/* rgb */ color: rgb(66, 54, 139);
/* oklch */ color: oklch(39.6% 0.136 284.8);
Tailwind
colors: {
  custom: {
    50: '#7d6dae',
    500: '#42368b',
    950: '#000000',
  },
}
SCSS
$custom: #42368b;
$custom-light: #7d6dae;
$custom-dark: #000000;
JSON
{
  "hex": "#42368b",
  "rgb": {
    "r": 66,
    "g": 54,
    "b": 139
  },
  "hsl": {
    "h": 248.471,
    "s": 44.041,
    "l": 37.843
  },
  "oklch": {
    "l": 0.39608,
    "c": 0.13566,
    "h": 284.8
  },
  "luminance": 0.05661
}

Semantic roles & 50–950 ramp

primary
#42368B
secondary
#A7B16C
accent
#D454C2
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0710
muted
#7C7A7F

Preview Lab

Preview with #42368B

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

Preview Lab → · Contrast checker → · Palette generator →

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