#4231B3#4231B3

#4231B3 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 42.4% C 0.194 H 280.1°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#4231B3
RGBrgb(66, 49, 179)
HSLhsl(248, 57%, 45%)
HSVhsv(248, 73%, 70%)
CMYKcmyk(63.1%, 72.6%, 0%, 29.8%)
CIE-LABlab(30.90, 45.00, -66.23)
CIE-LCHlch(30.90, 80.07, 304.20°)
OKLaboklab(42.38% 0.034 -0.1911)
OKLCHoklch(42.38% 0.194 280.1)
XYZxyz(11.4792, 6.6087, 43.3098)
Luminance0.0661 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4231B3 #A2B331
analogous
#3161B3 #4231B3 #8331B3
triadic
#4231B3 #B34231 #31B342
tetradic
#4231B3 #B33161 #A2B331 #31B383
square
#4231B3 #B33161 #A2B331 #31B383
split-complementary
#4231B3 #B38331 #61B331
monochromatic
#1F1753 #302483 #4231B3 #6252D0 #8E82DD

Accessibility & contrast

On white

9.04
#4231B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#4231B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4231B3
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4231B3#FFFFFF#000000##FFFFFF
##4231B31.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB7
Deuteranopia (green-blind)
#0044B1
Tritanopia (blue-blind)
#00556F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4231b3;
/* rgb */ color: rgb(66, 49, 179);
/* oklch */ color: oklch(42.4% 0.194 280.1);
Tailwind
colors: {
  custom: {
    50: '#846bcb',
    500: '#4231b3',
    950: '#000000',
  },
}
SCSS
$custom: #4231b3;
$custom-light: #846bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#4231b3",
  "rgb": {
    "r": 66,
    "g": 49,
    "b": 179
  },
  "hsl": {
    "h": 247.846,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.42382,
    "c": 0.19405,
    "h": 280.1
  },
  "luminance": 0.0661
}

Semantic roles & 50–950 ramp

primary
#4231B3
secondary
#BCC67A
accent
#E048CC
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4231B3

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

Preview Lab → · Contrast checker → · Palette generator →

#4231B3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva