#2331A0#2331A0

#2331A0 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.5% C 0.177 H 269.7°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#2331A0
RGBrgb(35, 49, 160)
HSLhsl(233, 64%, 38%)
HSVhsv(233, 78%, 63%)
CMYKcmyk(78.1%, 69.4%, 0%, 37.3%)
CIE-LABlab(26.99, 35.03, -61.30)
CIE-LCHlch(26.99, 70.60, 299.75°)
OKLaboklab(38.48% -0.0009 -0.1775)
OKLCHoklch(38.48% 0.177 269.7)
XYZxyz(8.1344, 5.0911, 33.8049)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2331A0 #A09223
analogous
#236FA0 #2331A0 #5323A0
triadic
#2331A0 #A02331 #31A023
tetradic
#2331A0 #A0236F #A09223 #23A053
square
#2331A0 #A0236F #A09223 #23A053
split-complementary
#2331A0 #A05323 #6FA023
monochromatic
#0D123C #18226E #2331A0 #2F41D1 #616FDC

Accessibility & contrast

On white

10.40
#2331A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#2331A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2331A0
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2331A0#FFFFFF#000000##FFFFFF
##2331A01.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A3
Deuteranopia (green-blind)
#003A9E
Tritanopia (blue-blind)
#004F64
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2331a0;
/* rgb */ color: rgb(35, 49, 160);
/* oklch */ color: oklch(38.5% 0.177 269.7);
Tailwind
colors: {
  custom: {
    50: '#7469bd',
    500: '#2331a0',
    950: '#000000',
  },
}
SCSS
$custom: #2331a0;
$custom-light: #7469bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2331a0",
  "rgb": {
    "r": 35,
    "g": 49,
    "b": 160
  },
  "hsl": {
    "h": 233.28,
    "s": 64.103,
    "l": 38.235
  },
  "oklch": {
    "l": 0.38483,
    "c": 0.17746,
    "h": 269.7
  },
  "luminance": 0.05092
}

Semantic roles & 50–950 ramp

primary
#2331A0
secondary
#C1B65D
accent
#D441E7
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2331A0

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

Preview Lab → · Contrast checker → · Palette generator →

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