#2327A9#2327A9

#2327A9 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.9% C 0.199 H 270.6°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#2327A9
RGBrgb(35, 39, 169)
HSLhsl(238, 66%, 40%)
HSVhsv(238, 79%, 66%)
CMYKcmyk(79.3%, 76.9%, 0%, 33.7%)
CIE-LABlab(25.78, 44.19, -68.75)
CIE-LCHlch(25.78, 81.73, 302.73°)
OKLaboklab(37.9% 0.0022 -0.1991)
OKLCHoklch(37.9% 0.199 270.6)
XYZxyz(8.5777, 4.6720, 37.9781)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2327A9 #A9A523
analogous
#236AA9 #2327A9 #6223A9
triadic
#2327A9 #A92327 #27A923
tetradic
#2327A9 #A9236A #A9A523 #23A962
square
#2327A9 #A9236A #A9A523 #23A962
split-complementary
#2327A9 #A96223 #6AA923
monochromatic
#0E1044 #191B76 #2327A9 #3439D5 #676BDF

Accessibility & contrast

On white

10.85
#2327A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#2327A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2327A9#FFFFFF#000000##FFFFFF
##2327A91.0010.851.9310.85
#FFFFFF10.851.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2327a9;
/* rgb */ color: rgb(35, 39, 169);
/* oklch */ color: oklch(37.9% 0.199 270.6);
Tailwind
colors: {
  custom: {
    50: '#7763c4',
    500: '#2327a9',
    950: '#000000',
  },
}
SCSS
$custom: #2327a9;
$custom-light: #7763c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2327a9",
  "rgb": {
    "r": 35,
    "g": 39,
    "b": 169
  },
  "hsl": {
    "h": 238.209,
    "s": 65.686,
    "l": 40
  },
  "oklch": {
    "l": 0.37896,
    "c": 0.19911,
    "h": 270.6
  },
  "luminance": 0.04673
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2327A9

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

Preview Lab → · Contrast checker → · Palette generator →

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