#42359C#42359C

#42359C is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.9% C 0.160 H 282.4°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#42359C
RGBrgb(66, 53, 156)
HSLhsl(248, 49%, 41%)
HSVhsv(248, 66%, 61%)
CMYKcmyk(57.7%, 66%, 0%, 38.8%)
CIE-LABlab(29.67, 35.32, -54.39)
CIE-LCHlch(29.67, 64.86, 303.00°)
OKLaboklab(40.87% 0.0344 -0.1564)
OKLCHoklch(40.87% 0.16 282.4)
XYZxyz(9.5188, 6.1042, 32.1227)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42359C #8F9C35
analogous
#355B9C #42359C #75359C
triadic
#42359C #9C4235 #359C42
tetradic
#42359C #9C355B #8F9C35 #359C75
square
#42359C #9C355B #8F9C35 #359C75
split-complementary
#42359C #9C7535 #5B9C35
monochromatic
#1B1641 #2F256E #42359C #5B4CC2 #857AD2

Accessibility & contrast

On white

9.46
#42359C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#42359C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42359C
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42359C#FFFFFF#000000##FFFFFF
##42359C1.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499F
Deuteranopia (green-blind)
#00429A
Tritanopia (blue-blind)
#124F63
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #42359c;
/* rgb */ color: rgb(66, 53, 156);
/* oklch */ color: oklch(40.9% 0.160 282.4);
Tailwind
colors: {
  custom: {
    50: '#806dba',
    500: '#42359c',
    950: '#000000',
  },
}
SCSS
$custom: #42359c;
$custom-light: #806dba;
$custom-dark: #000000;
JSON
{
  "hex": "#42359c",
  "rgb": {
    "r": 66,
    "g": 53,
    "b": 156
  },
  "hsl": {
    "h": 247.573,
    "s": 49.282,
    "l": 40.98
  },
  "oklch": {
    "l": 0.40866,
    "c": 0.16014,
    "h": 282.4
  },
  "luminance": 0.06105
}

Semantic roles & 50–950 ramp

primary
#42359C
secondary
#B1BA72
accent
#D94FC7
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #42359C

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

Preview Lab → · Contrast checker → · Palette generator →

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