#2328A8#2328A8

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

Color values

HEX#2328A8
RGBrgb(35, 40, 168)
HSLhsl(238, 66%, 40%)
HSVhsv(238, 79%, 66%)
CMYKcmyk(79.2%, 76.2%, 0%, 34.1%)
CIE-LABlab(25.87, 43.29, -68.00)
CIE-LCHlch(25.87, 80.62, 302.48°)
OKLaboklab(37.92% 0.002 -0.1969)
OKLCHoklch(37.92% 0.197 270.6)
XYZxyz(8.5174, 4.7011, 37.4967)
Luminance0.0470 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2328A8 #A8A323
analogous
#236BA8 #2328A8 #6023A8
triadic
#2328A8 #A82328 #28A823
tetradic
#2328A8 #A8236B #A8A323 #23A860
square
#2328A8 #A8236B #A8A323 #23A860
split-complementary
#2328A8 #A86023 #6BA823
monochromatic
#0E1043 #181C75 #2328A8 #343AD5 #666BDF

Accessibility & contrast

On white

10.82
#2328A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#2328A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2328A8#FFFFFF#000000##FFFFFF
##2328A81.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2328a8;
/* rgb */ color: rgb(35, 40, 168);
/* oklch */ color: oklch(37.9% 0.197 270.6);
Tailwind
colors: {
  custom: {
    50: '#7664c3',
    500: '#2328a8',
    950: '#000000',
  },
}
SCSS
$custom: #2328a8;
$custom-light: #7664c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2328a8",
  "rgb": {
    "r": 35,
    "g": 40,
    "b": 168
  },
  "hsl": {
    "h": 237.744,
    "s": 65.517,
    "l": 39.804
  },
  "oklch": {
    "l": 0.37925,
    "c": 0.19695,
    "h": 270.6
  },
  "luminance": 0.04702
}

Semantic roles & 50–950 ramp

primary
#2328A8
secondary
#C5C162
accent
#E23FE8
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0513
muted
#7C7A82

Preview Lab

Preview with #2328A8

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

Preview Lab → · Contrast checker → · Palette generator →

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