#4230C1#4230C1

#4230C1 is a dark, highly saturated blue. Relative luminance 0.071; OKLCH L 43.6% C 0.212 H 278.6°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#4230C1
RGBrgb(66, 48, 193)
HSLhsl(247, 60%, 47%)
HSVhsv(247, 75%, 76%)
CMYKcmyk(65.8%, 75.1%, 0%, 24.3%)
CIE-LABlab(32.08, 49.88, -72.56)
CIE-LCHlch(32.08, 88.05, 304.51°)
OKLaboklab(43.63% 0.0316 -0.2095)
OKLCHoklch(43.63% 0.212 278.6)
XYZxyz(12.9263, 7.1213, 51.1351)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4230C1 #AFC130
analogous
#3067C1 #4230C1 #8A30C1
triadic
#4230C1 #C14230 #30C142
tetradic
#4230C1 #C13067 #AFC130 #30C18A
square
#4230C1 #C13067 #AFC130 #30C18A
split-complementary
#4230C1 #C18A30 #67C130
monochromatic
#20185F #312490 #4230C1 #6859D6 #958AE2

Accessibility & contrast

On white

8.66
#4230C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#4230C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4230C1
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4230C1#FFFFFF#000000##FFFFFF
##4230C11.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C5
Deuteranopia (green-blind)
#0046BE
Tritanopia (blue-blind)
#005A76
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4230c1;
/* rgb */ color: rgb(66, 48, 193);
/* oklch */ color: oklch(43.6% 0.212 278.6);
Tailwind
colors: {
  custom: {
    50: '#876bd5',
    500: '#4230c1',
    950: '#000000',
  },
}
SCSS
$custom: #4230c1;
$custom-light: #876bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#4230c1",
  "rgb": {
    "r": 66,
    "g": 48,
    "b": 193
  },
  "hsl": {
    "h": 247.448,
    "s": 60.166,
    "l": 47.255
  },
  "oklch": {
    "l": 0.43632,
    "c": 0.2119,
    "h": 278.6
  },
  "luminance": 0.07122
}

Semantic roles & 50–950 ramp

primary
#4230C1
secondary
#C2CC81
accent
#E344D0
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4230C1

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

Preview Lab → · Contrast checker → · Palette generator →

#4230C1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva