#2231D3#2231D3

#2231D3 is a dark, highly saturated blue. Relative luminance 0.072; OKLCH L 43.9% C 0.240 H 268.0°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#2231D3
RGBrgb(34, 49, 211)
HSLhsl(235, 72%, 48%)
HSVhsv(235, 84%, 83%)
CMYKcmyk(83.9%, 76.8%, 0%, 17.3%)
CIE-LABlab(32.34, 52.58, -82.69)
CIE-LCHlch(32.34, 97.99, 302.45°)
OKLaboklab(43.89% -0.0083 -0.2396)
OKLCHoklch(43.89% 0.24 268)
XYZxyz(13.5118, 7.2382, 62.3004)
Luminance0.0724 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2231D3 #D3C422
analogous
#228AD3 #2231D3 #6B22D3
triadic
#2231D3 #D32231 #31D322
tetradic
#2231D3 #D3228A #D3C422 #22D36B
square
#2231D3 #D3228A #D3C422 #22D36B
split-complementary
#2231D3 #D36B22 #8AD322
monochromatic
#11196A #1A259E #2231D3 #4F5CE3 #848DEB

Accessibility & contrast

On white

8.58
#2231D3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#2231D3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2231D3
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2231D3#FFFFFF#000000##FFFFFF
##2231D31.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055D8
Deuteranopia (green-blind)
#0043D0
Tritanopia (blue-blind)
#006381
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2231d3;
/* rgb */ color: rgb(34, 49, 211);
/* oklch */ color: oklch(43.9% 0.240 268.0);
Tailwind
colors: {
  custom: {
    50: '#806be2',
    500: '#2231d3',
    950: '#000000',
  },
}
SCSS
$custom: #2231d3;
$custom-light: #806be2;
$custom-dark: #000000;
JSON
{
  "hex": "#2231d3",
  "rgb": {
    "r": 34,
    "g": 49,
    "b": 211
  },
  "hsl": {
    "h": 234.915,
    "s": 72.245,
    "l": 48.039
  },
  "oklch": {
    "l": 0.43891,
    "c": 0.23978,
    "h": 268
  },
  "luminance": 0.0724
}

Semantic roles & 50–950 ramp

primary
#2231D3
secondary
#D4CD7D
accent
#E039EF
background
#F8F6FE
surface
#F0EBFC
border
#CBC6D5
text
#0D0716
muted
#7D7A84

Preview Lab

Preview with #2231D3

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

Preview Lab → · Contrast checker → · Palette generator →

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