#42369F#42369F

#42369F is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.3% C 0.163 H 281.7°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#42369F
RGBrgb(66, 54, 159)
HSLhsl(247, 49%, 42%)
HSVhsv(247, 66%, 62%)
CMYKcmyk(58.5%, 66%, 0%, 37.6%)
CIE-LABlab(30.15, 35.69, -55.43)
CIE-LCHlch(30.15, 65.93, 302.78°)
OKLaboklab(41.29% 0.0331 -0.1594)
OKLCHoklch(41.29% 0.163 281.7)
XYZxyz(9.8220, 6.2991, 33.4925)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42369F #939F36
analogous
#365F9F #42369F #77369F
triadic
#42369F #9F4236 #369F42
tetradic
#42369F #9F365F #939F36 #369F77
square
#42369F #9F365F #939F36 #369F77
split-complementary
#42369F #9F7736 #5F9F36
monochromatic
#1C1744 #2F2671 #42369F #5C4FC3 #877DD3

Accessibility & contrast

On white

9.29
#42369F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#42369F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42369F
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42369F#FFFFFF#000000##FFFFFF
##42369F1.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA2
Deuteranopia (green-blind)
#00439D
Tritanopia (blue-blind)
#0C5065
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #42369f;
/* rgb */ color: rgb(66, 54, 159);
/* oklch */ color: oklch(41.3% 0.163 281.7);
Tailwind
colors: {
  custom: {
    50: '#806ebc',
    500: '#42369f',
    950: '#000000',
  },
}
SCSS
$custom: #42369f;
$custom-light: #806ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#42369f",
  "rgb": {
    "r": 66,
    "g": 54,
    "b": 159
  },
  "hsl": {
    "h": 246.857,
    "s": 49.296,
    "l": 41.765
  },
  "oklch": {
    "l": 0.41294,
    "c": 0.16284,
    "h": 281.7
  },
  "luminance": 0.063
}

Semantic roles & 50–950 ramp

primary
#42369F
secondary
#B4BC75
accent
#D94FC9
background
#F8F6FB
surface
#EFECF6
border
#CAC7D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #42369F

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

Preview Lab → · Contrast checker → · Palette generator →

#42369F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva