#4230B9#4230B9

#4230B9 is a dark, highly saturated blue. Relative luminance 0.068; OKLCH L 42.8% C 0.202 H 279.5°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#4230B9
RGBrgb(66, 48, 185)
HSLhsl(248, 59%, 46%)
HSVhsv(248, 74%, 73%)
CMYKcmyk(64.3%, 74.1%, 0%, 27.5%)
CIE-LABlab(31.29, 47.41, -69.15)
CIE-LCHlch(31.29, 83.84, 304.44°)
OKLaboklab(42.83% 0.0334 -0.1996)
OKLCHoklch(42.83% 0.202 279.5)
XYZxyz(12.0579, 6.7740, 46.5616)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4230B9 #A7B930
analogous
#3062B9 #4230B9 #8630B9
triadic
#4230B9 #B94230 #30B942
tetradic
#4230B9 #B93062 #A7B930 #30B986
square
#4230B9 #B93062 #A7B930 #30B986
split-complementary
#4230B9 #B98630 #62B930
monochromatic
#1F1758 #312388 #4230B9 #6454D3 #9084DF

Accessibility & contrast

On white

8.92
#4230B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4230B9
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4230B9#FFFFFF#000000##FFFFFF
##4230B91.008.922.368.92
#FFFFFF8.921.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4230b9;
/* rgb */ color: rgb(66, 48, 185);
/* oklch */ color: oklch(42.8% 0.202 279.5);
Tailwind
colors: {
  custom: {
    50: '#866bcf',
    500: '#4230b9',
    950: '#000000',
  },
}
SCSS
$custom: #4230b9;
$custom-light: #866bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#4230b9",
  "rgb": {
    "r": 66,
    "g": 48,
    "b": 185
  },
  "hsl": {
    "h": 247.883,
    "s": 58.798,
    "l": 45.686
  },
  "oklch": {
    "l": 0.42832,
    "c": 0.20237,
    "h": 279.5
  },
  "luminance": 0.06775
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4230B9

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

Preview Lab → · Contrast checker → · Palette generator →

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