#4331AB#4331AB

#4331AB is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.7% C 0.184 H 281.6°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#4331AB
RGBrgb(67, 49, 171)
HSLhsl(249, 55%, 43%)
HSVhsv(249, 71%, 67%)
CMYKcmyk(60.8%, 71.3%, 0%, 32.9%)
CIE-LABlab(30.23, 42.63, -62.54)
CIE-LCHlch(30.23, 75.69, 304.28°)
OKLaboklab(41.7% 0.0369 -0.1803)
OKLCHoklch(41.7% 0.184 281.6)
XYZxyz(10.7614, 6.3294, 39.1748)
Luminance0.0633 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4331AB #99AB31
analogous
#315CAB #4331AB #8031AB
triadic
#4331AB #AB4331 #31AB43
tetradic
#4331AB #AB315C #99AB31 #31AB80
square
#4331AB #AB315C #99AB31 #31AB80
split-complementary
#4331AB #AB8031 #5CAB31
monochromatic
#1E164C #30237B #4331AB #604DCC #8A7DDA

Accessibility & contrast

On white

9.27
#4331AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#4331AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4331AB
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4331AB#FFFFFF#000000##FFFFFF
##4331AB1.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAF
Deuteranopia (green-blind)
#0043A9
Tritanopia (blue-blind)
#00526A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4331ab;
/* rgb */ color: rgb(67, 49, 171);
/* oklch */ color: oklch(41.7% 0.184 281.6);
Tailwind
colors: {
  custom: {
    50: '#836bc5',
    500: '#4331ab',
    950: '#000000',
  },
}
SCSS
$custom: #4331ab;
$custom-light: #836bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#4331ab",
  "rgb": {
    "r": 67,
    "g": 49,
    "b": 171
  },
  "hsl": {
    "h": 248.852,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.41697,
    "c": 0.184,
    "h": 281.6
  },
  "luminance": 0.0633
}

Semantic roles & 50–950 ramp

primary
#4331AB
secondary
#B7C275
accent
#DF49C9
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4331AB

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

Preview Lab → · Contrast checker → · Palette generator →

#4331AB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva