#2328AA#2328AA

#2328AA is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.1% C 0.199 H 270.5°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#2328AA
RGBrgb(35, 40, 170)
HSLhsl(238, 66%, 40%)
HSVhsv(238, 79%, 67%)
CMYKcmyk(79.4%, 76.5%, 0%, 33.3%)
CIE-LABlab(26.09, 43.97, -68.84)
CIE-LCHlch(26.09, 81.69, 302.57°)
OKLaboklab(38.15% 0.0016 -0.1994)
OKLCHoklch(38.15% 0.199 270.5)
XYZxyz(8.7052, 4.7762, 38.4855)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2328AA #AAA523
analogous
#236BAA #2328AA #6223AA
triadic
#2328AA #AA2328 #28AA23
tetradic
#2328AA #AA236B #AAA523 #23AA62
square
#2328AA #AA236B #AAA523 #23AA62
split-complementary
#2328AA #AA6223 #6BAA23
monochromatic
#0E1044 #191C77 #2328AA #353BD5 #686CE0

Accessibility & contrast

On white

10.74
#2328AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2328AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2328AA
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2328AA#FFFFFF#000000##FFFFFF
##2328AA1.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AE
Deuteranopia (green-blind)
#0037A8
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2328aa;
/* rgb */ color: rgb(35, 40, 170);
/* oklch */ color: oklch(38.1% 0.199 270.5);
Tailwind
colors: {
  custom: {
    50: '#7764c5',
    500: '#2328aa',
    950: '#000000',
  },
}
SCSS
$custom: #2328aa;
$custom-light: #7764c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2328aa",
  "rgb": {
    "r": 35,
    "g": 40,
    "b": 170
  },
  "hsl": {
    "h": 237.778,
    "s": 65.854,
    "l": 40.196
  },
  "oklch": {
    "l": 0.38147,
    "c": 0.19939,
    "h": 270.5
  },
  "luminance": 0.04777
}

Semantic roles & 50–950 ramp

primary
#2328AA
secondary
#C6C263
accent
#E33FE9
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0513
muted
#7C7A82

Preview Lab

Preview with #2328AA

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

Preview Lab → · Contrast checker → · Palette generator →

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