#4234C8#4234C8

#4234C8 is a dark, highly saturated blue. Relative luminance 0.078; OKLCH L 44.9% C 0.216 H 277.4°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#4234C8
RGBrgb(66, 52, 200)
HSLhsl(246, 59%, 49%)
HSVhsv(246, 74%, 78%)
CMYKcmyk(67%, 74%, 0%, 21.6%)
CIE-LABlab(33.53, 49.93, -74.28)
CIE-LCHlch(33.53, 89.50, 303.91°)
OKLaboklab(44.86% 0.0277 -0.2146)
OKLCHoklch(44.86% 0.216 277.4)
XYZxyz(13.8967, 7.7832, 55.4023)
Luminance0.0778 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4234C8 #BAC834
analogous
#3470C8 #4234C8 #8C34C8
triadic
#4234C8 #C84234 #34C842
tetradic
#4234C8 #C83470 #BAC834 #34C88C
square
#4234C8 #C83470 #BAC834 #34C88C
split-complementary
#4234C8 #C88C34 #70C834
monochromatic
#221B67 #322797 #4234C8 #6E63D6 #9B93E3

Accessibility & contrast

On white

8.21
#4234C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#4234C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4234C8
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4234C8#FFFFFF#000000##FFFFFF
##4234C81.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055CC
Deuteranopia (green-blind)
#0049C5
Tritanopia (blue-blind)
#005E7B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4234c8;
/* rgb */ color: rgb(66, 52, 200);
/* oklch */ color: oklch(44.9% 0.216 277.4);
Tailwind
colors: {
  custom: {
    50: '#886eda',
    500: '#4234c8',
    950: '#000000',
  },
}
SCSS
$custom: #4234c8;
$custom-light: #886eda;
$custom-dark: #000000;
JSON
{
  "hex": "#4234c8",
  "rgb": {
    "r": 66,
    "g": 52,
    "b": 200
  },
  "hsl": {
    "h": 245.676,
    "s": 58.73,
    "l": 49.412
  },
  "oklch": {
    "l": 0.44861,
    "c": 0.21636,
    "h": 277.4
  },
  "luminance": 0.07784
}

Semantic roles & 50–950 ramp

primary
#4234C8
secondary
#C8CE8A
accent
#E246D3
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #4234C8

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

Preview Lab → · Contrast checker → · Palette generator →

#4234C8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva