#4230C2#4230C2

#4230C2 is a dark, highly saturated blue. Relative luminance 0.072; OKLCH L 43.7% C 0.213 H 278.5°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#4230C2
RGBrgb(66, 48, 194)
HSLhsl(247, 60%, 47%)
HSVhsv(247, 75%, 76%)
CMYKcmyk(66%, 75.3%, 0%, 23.9%)
CIE-LABlab(32.18, 50.19, -72.98)
CIE-LCHlch(32.18, 88.57, 304.51°)
OKLaboklab(43.73% 0.0313 -0.2108)
OKLCHoklch(43.73% 0.213 278.5)
XYZxyz(13.0382, 7.1661, 51.7246)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4230C2 #B0C230
analogous
#3067C2 #4230C2 #8B30C2
triadic
#4230C2 #C24230 #30C242
tetradic
#4230C2 #C23067 #B0C230 #30C28B
square
#4230C2 #C23067 #B0C230 #30C28B
split-complementary
#4230C2 #C28B30 #67C230
monochromatic
#211860 #312491 #4230C2 #6959D6 #958AE2

Accessibility & contrast

On white

8.63
#4230C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#4230C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4230C2
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4230C2#FFFFFF#000000##FFFFFF
##4230C21.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C6
Deuteranopia (green-blind)
#0046BF
Tritanopia (blue-blind)
#005A77
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4230c2;
/* rgb */ color: rgb(66, 48, 194);
/* oklch */ color: oklch(43.7% 0.213 278.5);
Tailwind
colors: {
  custom: {
    50: '#876bd6',
    500: '#4230c2',
    950: '#000000',
  },
}
SCSS
$custom: #4230c2;
$custom-light: #876bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#4230c2",
  "rgb": {
    "r": 66,
    "g": 48,
    "b": 194
  },
  "hsl": {
    "h": 247.397,
    "s": 60.331,
    "l": 47.451
  },
  "oklch": {
    "l": 0.43733,
    "c": 0.21308,
    "h": 278.5
  },
  "luminance": 0.07167
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4230C2

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

Preview Lab → · Contrast checker → · Palette generator →

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