#2331BC#2331BC

#2331BC is a dark, highly saturated blue. Relative luminance 0.062; OKLCH L 41.4% C 0.213 H 268.9°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#2331BC
RGBrgb(35, 49, 188)
HSLhsl(235, 69%, 44%)
HSVhsv(235, 81%, 74%)
CMYKcmyk(81.4%, 73.9%, 0%, 26.3%)
CIE-LABlab(29.87, 44.95, -73.33)
CIE-LCHlch(29.87, 86.00, 301.51°)
OKLaboklab(41.41% -0.0042 -0.2125)
OKLCHoklch(41.41% 0.213 268.9)
XYZxyz(10.8654, 6.1835, 48.1881)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2331BC #BCAE23
analogous
#237DBC #2331BC #6123BC
triadic
#2331BC #BC2331 #31BC23
tetradic
#2331BC #BC237D #BCAE23 #23BC61
square
#2331BC #BC237D #BCAE23 #23BC61
split-complementary
#2331BC #BC6123 #7DBC23
monochromatic
#101655 #192488 #2331BC #414FDC #747FE5

Accessibility & contrast

On white

9.39
#2331BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#2331BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2331BC
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2331BC#FFFFFF#000000##FFFFFF
##2331BC1.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC0
Deuteranopia (green-blind)
#003FBA
Tritanopia (blue-blind)
#005A74
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2331bc;
/* rgb */ color: rgb(35, 49, 188);
/* oklch */ color: oklch(41.4% 0.213 268.9);
Tailwind
colors: {
  custom: {
    50: '#7b6ad2',
    500: '#2331bc',
    950: '#000000',
  },
}
SCSS
$custom: #2331bc;
$custom-light: #7b6ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#2331bc",
  "rgb": {
    "r": 35,
    "g": 49,
    "b": 188
  },
  "hsl": {
    "h": 234.51,
    "s": 68.61,
    "l": 43.725
  },
  "oklch": {
    "l": 0.41412,
    "c": 0.21251,
    "h": 268.9
  },
  "luminance": 0.06185
}

Semantic roles & 50–950 ramp

primary
#2331BC
secondary
#CCC46F
accent
#DB3CEB
background
#F8F6FD
surface
#EFEBFA
border
#CAC6D3
text
#0B0614
muted
#7C7A83

Preview Lab

Preview with #2331BC

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

Preview Lab → · Contrast checker → · Palette generator →

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