#4230B5#4230B5

#4230B5 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 42.4% C 0.198 H 280.0°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#4230B5
RGBrgb(66, 48, 181)
HSLhsl(248, 58%, 45%)
HSVhsv(248, 73%, 71%)
CMYKcmyk(63.5%, 73.5%, 0%, 29%)
CIE-LABlab(30.90, 46.17, -67.42)
CIE-LCHlch(30.90, 81.71, 304.40°)
OKLaboklab(42.44% 0.0342 -0.1945)
OKLCHoklch(42.44% 0.198 280)
XYZxyz(11.6416, 6.6075, 44.3690)
Luminance0.0661 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4230B5 #A3B530
analogous
#3061B5 #4230B5 #8430B5
triadic
#4230B5 #B54230 #30B542
tetradic
#4230B5 #B53061 #A3B530 #30B584
square
#4230B5 #B53061 #A3B530 #30B584
split-complementary
#4230B5 #B58430 #61B530
monochromatic
#1F1654 #302385 #4230B5 #6351D1 #8E82DE

Accessibility & contrast

On white

9.05
#4230B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#4230B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4230B5
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4230B5#FFFFFF#000000##FFFFFF
##4230B51.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB9
Deuteranopia (green-blind)
#0044B3
Tritanopia (blue-blind)
#005570
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4230b5;
/* rgb */ color: rgb(66, 48, 181);
/* oklch */ color: oklch(42.4% 0.198 280.0);
Tailwind
colors: {
  custom: {
    50: '#856bcc',
    500: '#4230b5',
    950: '#000000',
  },
}
SCSS
$custom: #4230b5;
$custom-light: #856bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#4230b5",
  "rgb": {
    "r": 66,
    "g": 48,
    "b": 181
  },
  "hsl": {
    "h": 248.12,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.42438,
    "c": 0.19753,
    "h": 280
  },
  "luminance": 0.06608
}

Semantic roles & 50–950 ramp

primary
#4230B5
secondary
#BCC77A
accent
#E146CC
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #4230B5

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

Preview Lab → · Contrast checker → · Palette generator →

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