#4230BA#4230BA

#4230BA is a dark, highly saturated blue. Relative luminance 0.068; OKLCH L 42.9% C 0.204 H 279.4°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#4230BA
RGBrgb(66, 48, 186)
HSLhsl(248, 59%, 46%)
HSVhsv(248, 74%, 73%)
CMYKcmyk(64.5%, 74.2%, 0%, 27.1%)
CIE-LABlab(31.39, 47.72, -69.58)
CIE-LCHlch(31.39, 84.37, 304.44°)
OKLaboklab(42.93% 0.0331 -0.2008)
OKLCHoklch(42.93% 0.204 279.4)
XYZxyz(12.1638, 6.8164, 47.1195)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4230BA #A8BA30
analogous
#3063BA #4230BA #8730BA
triadic
#4230BA #BA4230 #30BA42
tetradic
#4230BA #BA3063 #A8BA30 #30BA87
square
#4230BA #BA3063 #A8BA30 #30BA87
split-complementary
#4230BA #BA8730 #63BA30
monochromatic
#1F1759 #312389 #4230BA #6554D3 #9185DF

Accessibility & contrast

On white

8.89
#4230BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#4230BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4230BA
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4230BA#FFFFFF#000000##FFFFFF
##4230BA1.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBE
Deuteranopia (green-blind)
#0044B7
Tritanopia (blue-blind)
#005773
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4230ba;
/* rgb */ color: rgb(66, 48, 186);
/* oklch */ color: oklch(42.9% 0.204 279.4);
Tailwind
colors: {
  custom: {
    50: '#866bd0',
    500: '#4230ba',
    950: '#000000',
  },
}
SCSS
$custom: #4230ba;
$custom-light: #866bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#4230ba",
  "rgb": {
    "r": 66,
    "g": 48,
    "b": 186
  },
  "hsl": {
    "h": 247.826,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.42932,
    "c": 0.20357,
    "h": 279.4
  },
  "luminance": 0.06817
}

Semantic roles & 50–950 ramp

primary
#4230BA
secondary
#BFC97D
accent
#E246CE
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0D0714
muted
#7D7A82

Preview Lab

Preview with #4230BA

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

Preview Lab → · Contrast checker → · Palette generator →

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