#2327A0#2327A0

#2327A0 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.9% C 0.188 H 271.1°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#2327A0
RGBrgb(35, 39, 160)
HSLhsl(238, 64%, 38%)
HSVhsv(238, 78%, 63%)
CMYKcmyk(78.1%, 75.6%, 0%, 37.3%)
CIE-LABlab(24.78, 41.14, -64.95)
CIE-LCHlch(24.78, 76.88, 302.35°)
OKLaboklab(36.9% 0.0037 -0.188)
OKLCHoklch(36.9% 0.188 271.1)
XYZxyz(7.7617, 4.3456, 33.6806)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2327A0 #A09C23
analogous
#2365A0 #2327A0 #5D23A0
triadic
#2327A0 #A02327 #27A023
tetradic
#2327A0 #A02365 #A09C23 #23A05D
square
#2327A0 #A02365 #A09C23 #23A05D
split-complementary
#2327A0 #A05D23 #65A023
monochromatic
#0D0F3C #181B6E #2327A0 #2F34D1 #6165DC

Accessibility & contrast

On white

11.23
#2327A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2327A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2327A0
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2327A0#FFFFFF#000000##FFFFFF
##2327A01.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A4
Deuteranopia (green-blind)
#00359E
Tritanopia (blue-blind)
#004B62
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2327a0;
/* rgb */ color: rgb(35, 39, 160);
/* oklch */ color: oklch(36.9% 0.188 271.1);
Tailwind
colors: {
  custom: {
    50: '#7463bd',
    500: '#2327a0',
    950: '#000000',
  },
}
SCSS
$custom: #2327a0;
$custom-light: #7463bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2327a0",
  "rgb": {
    "r": 35,
    "g": 39,
    "b": 160
  },
  "hsl": {
    "h": 238.08,
    "s": 64.103,
    "l": 38.235
  },
  "oklch": {
    "l": 0.36897,
    "c": 0.18809,
    "h": 271.1
  },
  "luminance": 0.04346
}

Semantic roles & 50–950 ramp

primary
#2327A0
secondary
#C1BE5D
accent
#E241E7
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2327A0

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

Preview Lab → · Contrast checker → · Palette generator →

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