#2327A8#2327A8

#2327A8 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.8% C 0.198 H 270.7°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#2327A8
RGBrgb(35, 39, 168)
HSLhsl(238, 66%, 40%)
HSVhsv(238, 79%, 66%)
CMYKcmyk(79.2%, 76.8%, 0%, 34.1%)
CIE-LABlab(25.67, 43.86, -68.33)
CIE-LCHlch(25.67, 81.20, 302.69°)
OKLaboklab(37.78% 0.0023 -0.1979)
OKLCHoklch(37.78% 0.198 270.7)
XYZxyz(8.4841, 4.6346, 37.4856)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2327A8 #A8A423
analogous
#236AA8 #2327A8 #6123A8
triadic
#2327A8 #A82327 #27A823
tetradic
#2327A8 #A8236A #A8A423 #23A861
square
#2327A8 #A8236A #A8A423 #23A861
split-complementary
#2327A8 #A86123 #6AA823
monochromatic
#0E0F43 #181B75 #2327A8 #3438D5 #666ADF

Accessibility & contrast

On white

10.90
#2327A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##2327A8#FFFFFF#000000##FFFFFF
##2327A81.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043AC
Deuteranopia (green-blind)
#0036A6
Tritanopia (blue-blind)
#004E66
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2327a8;
/* rgb */ color: rgb(35, 39, 168);
/* oklch */ color: oklch(37.8% 0.198 270.7);
Tailwind
colors: {
  custom: {
    50: '#7763c3',
    500: '#2327a8',
    950: '#000000',
  },
}
SCSS
$custom: #2327a8;
$custom-light: #7763c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2327a8",
  "rgb": {
    "r": 35,
    "g": 39,
    "b": 168
  },
  "hsl": {
    "h": 238.195,
    "s": 65.517,
    "l": 39.804
  },
  "oklch": {
    "l": 0.37784,
    "c": 0.1979,
    "h": 270.7
  },
  "luminance": 0.04636
}

Semantic roles & 50–950 ramp

primary
#2327A8
secondary
#C5C262
accent
#E33FE8
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0513
muted
#7C7A82

Preview Lab

Preview with #2327A8

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

Preview Lab → · Contrast checker → · Palette generator →

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