#2231BD#2231BD

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

Color values

HEX#2231BD
RGBrgb(34, 49, 189)
HSLhsl(234, 70%, 44%)
HSVhsv(234, 82%, 74%)
CMYKcmyk(82%, 74.1%, 0%, 25.9%)
CIE-LABlab(29.93, 45.22, -73.81)
CIE-LCHlch(29.93, 86.56, 301.50°)
OKLaboklab(41.48% -0.0052 -0.2139)
OKLCHoklch(41.48% 0.214 268.6)
XYZxyz(10.9401, 6.2095, 48.7562)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2231BD #BDAE22
analogous
#227EBD #2231BD #6122BD
triadic
#2231BD #BD2231 #31BD22
tetradic
#2231BD #BD227E #BDAE22 #22BD61
square
#2231BD #BD227E #BDAE22 #22BD61
split-complementary
#2231BD #BD6122 #7EBD22
monochromatic
#0F1655 #192489 #2231BD #404FDD #737FE6

Accessibility & contrast

On white

9.37
#2231BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#2231BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2231BD
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2231BD#FFFFFF#000000##FFFFFF
##2231BD1.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2231bd;
/* rgb */ color: rgb(34, 49, 189);
/* oklch */ color: oklch(41.5% 0.214 268.6);
Tailwind
colors: {
  custom: {
    50: '#7b6ad2',
    500: '#2231bd',
    950: '#000000',
  },
}
SCSS
$custom: #2231bd;
$custom-light: #7b6ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#2231bd",
  "rgb": {
    "r": 34,
    "g": 49,
    "b": 189
  },
  "hsl": {
    "h": 234.194,
    "s": 69.507,
    "l": 43.725
  },
  "oklch": {
    "l": 0.41478,
    "c": 0.21396,
    "h": 268.6
  },
  "luminance": 0.06211
}

Semantic roles & 50–950 ramp

primary
#2231BD
secondary
#CDC46E
accent
#DB3BEC
background
#F8F6FD
surface
#EFEBFA
border
#CAC6D3
text
#0B0614
muted
#7C7A83

Preview Lab

Preview with #2231BD

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

Preview Lab → · Contrast checker → · Palette generator →

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