#2331BD#2331BD

#2331BD is a dark, highly saturated blue. Relative luminance 0.062; OKLCH L 41.5% C 0.214 H 268.8°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#2331BD
RGBrgb(35, 49, 189)
HSLhsl(235, 69%, 44%)
HSVhsv(235, 81%, 74%)
CMYKcmyk(81.5%, 74.1%, 0%, 25.9%)
CIE-LABlab(29.98, 45.29, -73.74)
CIE-LCHlch(29.98, 86.54, 301.56°)
OKLaboklab(41.52% -0.0043 -0.2137)
OKLCHoklch(41.52% 0.214 268.8)
XYZxyz(10.9736, 6.2268, 48.7578)
Luminance0.0623 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2331BD #BDAF23
analogous
#237EBD #2331BD #6223BD
triadic
#2331BD #BD2331 #31BD23
tetradic
#2331BD #BD237E #BDAF23 #23BD62
square
#2331BD #BD237E #BDAF23 #23BD62
split-complementary
#2331BD #BD6223 #7EBD23
monochromatic
#101656 #192489 #2331BD #414FDC #757FE5

Accessibility & contrast

On white

9.35
#2331BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#2331BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2331BD
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2331BD#FFFFFF#000000##FFFFFF
##2331BD1.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC1
Deuteranopia (green-blind)
#003FBB
Tritanopia (blue-blind)
#005A74
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2331bd;
/* rgb */ color: rgb(35, 49, 189);
/* oklch */ color: oklch(41.5% 0.214 268.8);
Tailwind
colors: {
  custom: {
    50: '#7b6ad2',
    500: '#2331bd',
    950: '#000000',
  },
}
SCSS
$custom: #2331bd;
$custom-light: #7b6ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#2331bd",
  "rgb": {
    "r": 35,
    "g": 49,
    "b": 189
  },
  "hsl": {
    "h": 234.545,
    "s": 68.75,
    "l": 43.922
  },
  "oklch": {
    "l": 0.4152,
    "c": 0.21371,
    "h": 268.8
  },
  "luminance": 0.06228
}

Semantic roles & 50–950 ramp

primary
#2331BD
secondary
#CDC46F
accent
#DC3CEC
background
#F8F6FD
surface
#EFEBFA
border
#CAC6D3
text
#0B0614
muted
#7C7A83

Preview Lab

Preview with #2331BD

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

Preview Lab → · Contrast checker → · Palette generator →

#2331BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva