#4230B7#4230B7

#4230B7 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.6% C 0.200 H 279.7°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#4230B7
RGBrgb(66, 48, 183)
HSLhsl(248, 58%, 45%)
HSVhsv(248, 74%, 72%)
CMYKcmyk(63.9%, 73.8%, 0%, 28.2%)
CIE-LABlab(31.09, 46.79, -68.29)
CIE-LCHlch(31.09, 82.78, 304.42°)
OKLaboklab(42.64% 0.0338 -0.1971)
OKLCHoklch(42.64% 0.2 279.7)
XYZxyz(11.8482, 6.6901, 45.4575)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4230B7 #A5B730
analogous
#3061B7 #4230B7 #8530B7
triadic
#4230B7 #B74230 #30B742
tetradic
#4230B7 #B73061 #A5B730 #30B785
square
#4230B7 #B73061 #A5B730 #30B785
split-complementary
#4230B7 #B78530 #61B730
monochromatic
#1F1756 #312387 #4230B7 #6352D2 #8F83DE

Accessibility & contrast

On white

8.98
#4230B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#4230B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4230B7
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4230B7#FFFFFF#000000##FFFFFF
##4230B71.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4230b7;
/* rgb */ color: rgb(66, 48, 183);
/* oklch */ color: oklch(42.6% 0.200 279.7);
Tailwind
colors: {
  custom: {
    50: '#856bce',
    500: '#4230b7',
    950: '#000000',
  },
}
SCSS
$custom: #4230b7;
$custom-light: #856bce;
$custom-dark: #000000;
JSON
{
  "hex": "#4230b7",
  "rgb": {
    "r": 66,
    "g": 48,
    "b": 183
  },
  "hsl": {
    "h": 248,
    "s": 58.442,
    "l": 45.294
  },
  "oklch": {
    "l": 0.42635,
    "c": 0.19996,
    "h": 279.7
  },
  "luminance": 0.06691
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4230B7

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

Preview Lab → · Contrast checker → · Palette generator →

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