#4230B2#4230B2

#4230B2 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 42.1% C 0.194 H 280.4°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#4230B2
RGBrgb(66, 48, 178)
HSLhsl(248, 58%, 44%)
HSVhsv(248, 73%, 70%)
CMYKcmyk(62.9%, 73%, 0%, 30.2%)
CIE-LABlab(30.61, 45.24, -66.11)
CIE-LCHlch(30.61, 80.11, 304.38°)
OKLaboklab(42.15% 0.0349 -0.1907)
OKLCHoklch(42.15% 0.194 280.4)
XYZxyz(11.3371, 6.4857, 42.7653)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4230B2 #A0B230
analogous
#305FB2 #4230B2 #8330B2
triadic
#4230B2 #B24230 #30B242
tetradic
#4230B2 #B2305F #A0B230 #30B283
square
#4230B2 #B2305F #A0B230 #30B283
split-complementary
#4230B2 #B28330 #5FB230
monochromatic
#1E1652 #302382 #4230B2 #6150D0 #8D80DD

Accessibility & contrast

On white

9.14
#4230B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#4230B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4230B2
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4230B2#FFFFFF#000000##FFFFFF
##4230B21.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB6
Deuteranopia (green-blind)
#0043B0
Tritanopia (blue-blind)
#00546E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4230b2;
/* rgb */ color: rgb(66, 48, 178);
/* oklch */ color: oklch(42.1% 0.194 280.4);
Tailwind
colors: {
  custom: {
    50: '#846bca',
    500: '#4230b2',
    950: '#000000',
  },
}
SCSS
$custom: #4230b2;
$custom-light: #846bca;
$custom-dark: #000000;
JSON
{
  "hex": "#4230b2",
  "rgb": {
    "r": 66,
    "g": 48,
    "b": 178
  },
  "hsl": {
    "h": 248.308,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.42145,
    "c": 0.19388,
    "h": 280.4
  },
  "luminance": 0.06487
}

Semantic roles & 50–950 ramp

primary
#4230B2
secondary
#BBC678
accent
#E147CB
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4230B2

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

Preview Lab → · Contrast checker → · Palette generator →

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