#2331AE#2331AE

#2331AE is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.9% C 0.195 H 269.3°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#2331AE
RGBrgb(35, 49, 174)
HSLhsl(234, 67%, 41%)
HSVhsv(234, 80%, 68%)
CMYKcmyk(79.9%, 71.8%, 0%, 31.8%)
CIE-LABlab(28.40, 40.07, -67.42)
CIE-LCHlch(28.40, 78.43, 300.72°)
OKLaboklab(39.93% -0.0024 -0.1953)
OKLCHoklch(39.93% 0.195 269.3)
XYZxyz(9.4288, 5.6089, 40.6219)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2331AE #AEA023
analogous
#2376AE #2331AE #5A23AE
triadic
#2331AE #AE2331 #31AE23
tetradic
#2331AE #AE2376 #AEA023 #23AE5A
square
#2331AE #AE2376 #AEA023 #23AE5A
split-complementary
#2331AE #AE5A23 #76AE23
monochromatic
#0F1448 #19237B #2331AE #3747D7 #6A76E1

Accessibility & contrast

On white

9.90
#2331AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2331AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2331AE
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2331AE#FFFFFF#000000##FFFFFF
##2331AE1.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB2
Deuteranopia (green-blind)
#003CAC
Tritanopia (blue-blind)
#00556C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2331ae;
/* rgb */ color: rgb(35, 49, 174);
/* oklch */ color: oklch(39.9% 0.195 269.3);
Tailwind
colors: {
  custom: {
    50: '#776ac7',
    500: '#2331ae',
    950: '#000000',
  },
}
SCSS
$custom: #2331ae;
$custom-light: #776ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#2331ae",
  "rgb": {
    "r": 35,
    "g": 49,
    "b": 174
  },
  "hsl": {
    "h": 233.957,
    "s": 66.507,
    "l": 40.98
  },
  "oklch": {
    "l": 0.39926,
    "c": 0.19531,
    "h": 269.3
  },
  "luminance": 0.0561
}

Semantic roles & 50–950 ramp

primary
#2331AE
secondary
#C7BD66
accent
#D83EE9
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #2331AE

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

Preview Lab → · Contrast checker → · Palette generator →

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