#4234CA#4234CA

#4234CA is a mid, highly saturated blue. Relative luminance 0.079; OKLCH L 45.1% C 0.219 H 277.2°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#4234CA
RGBrgb(66, 52, 202)
HSLhsl(246, 59%, 50%)
HSVhsv(246, 74%, 79%)
CMYKcmyk(67.3%, 74.3%, 0%, 20.8%)
CIE-LABlab(33.73, 50.55, -75.12)
CIE-LCHlch(33.73, 90.54, 303.94°)
OKLaboklab(45.06% 0.0273 -0.217)
OKLCHoklch(45.06% 0.219 277.2)
XYZxyz(14.1320, 7.8773, 56.6414)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4234CA #BCCA34
analogous
#3471CA #4234CA #8D34CA
triadic
#4234CA #CA4234 #34CA42
tetradic
#4234CA #CA3471 #BCCA34 #34CA8D
square
#4234CA #CA3471 #BCCA34 #34CA8D
split-complementary
#4234CA #CA8D34 #71CA34
monochromatic
#221B69 #322799 #4234CA #6F64D7 #9C95E4

Accessibility & contrast

On white

8.15
#4234CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#4234CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4234CA
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4234CA#FFFFFF#000000##FFFFFF
##4234CA1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055CE
Deuteranopia (green-blind)
#0049C7
Tritanopia (blue-blind)
#005F7D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4234ca;
/* rgb */ color: rgb(66, 52, 202);
/* oklch */ color: oklch(45.1% 0.219 277.2);
Tailwind
colors: {
  custom: {
    50: '#896edb',
    500: '#4234ca',
    950: '#000000',
  },
}
SCSS
$custom: #4234ca;
$custom-light: #896edb;
$custom-dark: #000000;
JSON
{
  "hex": "#4234ca",
  "rgb": {
    "r": 66,
    "g": 52,
    "b": 202
  },
  "hsl": {
    "h": 245.6,
    "s": 59.055,
    "l": 49.804
  },
  "oklch": {
    "l": 0.45061,
    "c": 0.21874,
    "h": 277.2
  },
  "luminance": 0.07879
}

Semantic roles & 50–950 ramp

primary
#4234CA
secondary
#C9CF8B
accent
#E246D4
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #4234CA

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

Preview Lab → · Contrast checker → · Palette generator →

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