#4230B8#4230B8

#4230B8 is a dark, highly saturated blue. Relative luminance 0.067; OKLCH L 42.7% C 0.201 H 279.6°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#4230B8
RGBrgb(66, 48, 184)
HSLhsl(248, 59%, 45%)
HSVhsv(248, 74%, 72%)
CMYKcmyk(64.1%, 73.9%, 0%, 27.8%)
CIE-LABlab(31.19, 47.10, -68.72)
CIE-LCHlch(31.19, 83.31, 304.43°)
OKLaboklab(42.73% 0.0336 -0.1983)
OKLCHoklch(42.73% 0.201 279.6)
XYZxyz(11.9527, 6.7319, 46.0076)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4230B8 #A6B830
analogous
#3062B8 #4230B8 #8630B8
triadic
#4230B8 #B84230 #30B842
tetradic
#4230B8 #B83062 #A6B830 #30B886
square
#4230B8 #B83062 #A6B830 #30B886
split-complementary
#4230B8 #B88630 #62B830
monochromatic
#1F1757 #312387 #4230B8 #6453D2 #9084DF

Accessibility & contrast

On white

8.95
#4230B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#4230B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4230B8
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4230B8#FFFFFF#000000##FFFFFF
##4230B81.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBC
Deuteranopia (green-blind)
#0044B6
Tritanopia (blue-blind)
#005671
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4230b8;
/* rgb */ color: rgb(66, 48, 184);
/* oklch */ color: oklch(42.7% 0.201 279.6);
Tailwind
colors: {
  custom: {
    50: '#856bcf',
    500: '#4230b8',
    950: '#000000',
  },
}
SCSS
$custom: #4230b8;
$custom-light: #856bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#4230b8",
  "rgb": {
    "r": 66,
    "g": 48,
    "b": 184
  },
  "hsl": {
    "h": 247.941,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.42733,
    "c": 0.20116,
    "h": 279.6
  },
  "luminance": 0.06733
}

Semantic roles & 50–950 ramp

primary
#4230B8
secondary
#BEC87C
accent
#E246CD
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #4230B8

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

Preview Lab → · Contrast checker → · Palette generator →

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