#2331A6#2331A6

#2331A6 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.1% C 0.185 H 269.5°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#2331A6
RGBrgb(35, 49, 166)
HSLhsl(234, 65%, 39%)
HSVhsv(234, 79%, 65%)
CMYKcmyk(78.9%, 70.5%, 0%, 34.9%)
CIE-LABlab(27.59, 37.21, -63.95)
CIE-LCHlch(27.59, 73.99, 300.19°)
OKLaboklab(39.1% -0.0015 -0.1852)
OKLCHoklch(39.1% 0.185 269.5)
XYZxyz(8.6720, 5.3061, 36.6361)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2331A6 #A69823
analogous
#2373A6 #2331A6 #5723A6
triadic
#2331A6 #A62331 #31A623
tetradic
#2331A6 #A62373 #A69823 #23A657
square
#2331A6 #A62373 #A69823 #23A657
split-complementary
#2331A6 #A65723 #73A623
monochromatic
#0E1341 #182273 #2331A6 #3244D4 #6572DF

Accessibility & contrast

On white

10.19
#2331A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#2331A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2331A6
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2331A6#FFFFFF#000000##FFFFFF
##2331A61.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AA
Deuteranopia (green-blind)
#003BA4
Tritanopia (blue-blind)
#005268
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2331a6;
/* rgb */ color: rgb(35, 49, 166);
/* oklch */ color: oklch(39.1% 0.185 269.5);
Tailwind
colors: {
  custom: {
    50: '#7569c2',
    500: '#2331a6',
    950: '#000000',
  },
}
SCSS
$custom: #2331a6;
$custom-light: #7569c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2331a6",
  "rgb": {
    "r": 35,
    "g": 49,
    "b": 166
  },
  "hsl": {
    "h": 233.588,
    "s": 65.174,
    "l": 39.412
  },
  "oklch": {
    "l": 0.39095,
    "c": 0.1852,
    "h": 269.5
  },
  "luminance": 0.05307
}

Semantic roles & 50–950 ramp

primary
#2331A6
secondary
#C4B961
accent
#D640E8
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2331A6

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

Preview Lab → · Contrast checker → · Palette generator →

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