#2327AA#2327AA

#2327AA is a dark, highly saturated blue. Relative luminance 0.047; OKLCH L 38.0% C 0.200 H 270.6°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#2327AA
RGBrgb(35, 39, 170)
HSLhsl(238, 66%, 40%)
HSVhsv(238, 79%, 67%)
CMYKcmyk(79.4%, 77.1%, 0%, 33.3%)
CIE-LABlab(25.89, 44.53, -69.17)
CIE-LCHlch(25.89, 82.26, 302.77°)
OKLaboklab(38.01% 0.002 -0.2003)
OKLCHoklch(38.01% 0.2 270.6)
XYZxyz(8.6719, 4.7097, 38.4744)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2327AA #AAA623
analogous
#236BAA #2327AA #6223AA
triadic
#2327AA #AA2327 #27AA23
tetradic
#2327AA #AA236B #AAA623 #23AA62
square
#2327AA #AA236B #AAA623 #23AA62
split-complementary
#2327AA #AA6223 #6BAA23
monochromatic
#0E1044 #191B77 #2327AA #353AD5 #686BE0

Accessibility & contrast

On white

10.81
#2327AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#2327AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2327AA#FFFFFF#000000##FFFFFF
##2327AA1.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AE
Deuteranopia (green-blind)
#0036A8
Tritanopia (blue-blind)
#004E67
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2327aa;
/* rgb */ color: rgb(35, 39, 170);
/* oklch */ color: oklch(38.0% 0.200 270.6);
Tailwind
colors: {
  custom: {
    50: '#7763c5',
    500: '#2327aa',
    950: '#000000',
  },
}
SCSS
$custom: #2327aa;
$custom-light: #7763c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2327aa",
  "rgb": {
    "r": 35,
    "g": 39,
    "b": 170
  },
  "hsl": {
    "h": 238.222,
    "s": 65.854,
    "l": 40.196
  },
  "oklch": {
    "l": 0.38008,
    "c": 0.20032,
    "h": 270.6
  },
  "luminance": 0.04711
}

Semantic roles & 50–950 ramp

primary
#2327AA
secondary
#C6C363
accent
#E43FE9
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0513
muted
#7C7A82

Preview Lab

Preview with #2327AA

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

Preview Lab → · Contrast checker → · Palette generator →

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