#2327A7#2327A7

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

Color values

HEX#2327A7
RGBrgb(35, 39, 167)
HSLhsl(238, 65%, 40%)
HSVhsv(238, 79%, 65%)
CMYKcmyk(79%, 76.6%, 0%, 34.5%)
CIE-LABlab(25.56, 43.52, -67.91)
CIE-LCHlch(25.56, 80.66, 302.65°)
OKLaboklab(37.67% 0.0025 -0.1967)
OKLCHoklch(37.67% 0.197 270.7)
XYZxyz(8.3913, 4.5974, 36.9969)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2327A7 #A7A323
analogous
#2369A7 #2327A7 #6123A7
triadic
#2327A7 #A72327 #27A723
tetradic
#2327A7 #A72369 #A7A323 #23A761
square
#2327A7 #A72369 #A7A323 #23A761
split-complementary
#2327A7 #A76123 #69A723
monochromatic
#0E0F42 #181B74 #2327A7 #3338D4 #6669DF

Accessibility & contrast

On white

10.94
#2327A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2327A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2327A7#FFFFFF#000000##FFFFFF
##2327A71.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043AB
Deuteranopia (green-blind)
#0036A5
Tritanopia (blue-blind)
#004D66
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2327a7;
/* rgb */ color: rgb(35, 39, 167);
/* oklch */ color: oklch(37.7% 0.197 270.7);
Tailwind
colors: {
  custom: {
    50: '#7663c2',
    500: '#2327a7',
    950: '#000000',
  },
}
SCSS
$custom: #2327a7;
$custom-light: #7663c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2327a7",
  "rgb": {
    "r": 35,
    "g": 39,
    "b": 167
  },
  "hsl": {
    "h": 238.182,
    "s": 65.347,
    "l": 39.608
  },
  "oklch": {
    "l": 0.37673,
    "c": 0.19669,
    "h": 270.7
  },
  "luminance": 0.04598
}

Semantic roles & 50–950 ramp

primary
#2327A7
secondary
#C4C161
accent
#E33FE8
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0513
muted
#7C7A82

Preview Lab

Preview with #2327A7

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

Preview Lab → · Contrast checker → · Palette generator →

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