#4230B4#4230B4

#4230B4 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 42.3% C 0.196 H 280.1°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#4230B4
RGBrgb(66, 48, 180)
HSLhsl(248, 58%, 45%)
HSVhsv(248, 73%, 71%)
CMYKcmyk(63.3%, 73.3%, 0%, 29.4%)
CIE-LABlab(30.80, 45.86, -66.99)
CIE-LCHlch(30.80, 81.18, 304.40°)
OKLaboklab(42.34% 0.0344 -0.1933)
OKLCHoklch(42.34% 0.196 280.1)
XYZxyz(11.5393, 6.5666, 43.8306)
Luminance0.0657 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4230B4 #A2B430
analogous
#3060B4 #4230B4 #8430B4
triadic
#4230B4 #B44230 #30B442
tetradic
#4230B4 #B43060 #A2B430 #30B484
square
#4230B4 #B43060 #A2B430 #30B484
split-complementary
#4230B4 #B48430 #60B430
monochromatic
#1F1653 #302384 #4230B4 #6251D1 #8E81DD

Accessibility & contrast

On white

9.08
#4230B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#4230B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4230B4
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4230B4#FFFFFF#000000##FFFFFF
##4230B41.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB8
Deuteranopia (green-blind)
#0043B2
Tritanopia (blue-blind)
#00556F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4230b4;
/* rgb */ color: rgb(66, 48, 180);
/* oklch */ color: oklch(42.3% 0.196 280.1);
Tailwind
colors: {
  custom: {
    50: '#856bcc',
    500: '#4230b4',
    950: '#000000',
  },
}
SCSS
$custom: #4230b4;
$custom-light: #856bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#4230b4",
  "rgb": {
    "r": 66,
    "g": 48,
    "b": 180
  },
  "hsl": {
    "h": 248.182,
    "s": 57.895,
    "l": 44.706
  },
  "oklch": {
    "l": 0.4234,
    "c": 0.19631,
    "h": 280.1
  },
  "luminance": 0.06567
}

Semantic roles & 50–950 ramp

primary
#4230B4
secondary
#BCC679
accent
#E147CC
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4230B4

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

Preview Lab → · Contrast checker → · Palette generator →

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