#2328A7#2328A7

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

Color values

HEX#2328A7
RGBrgb(35, 40, 167)
HSLhsl(238, 65%, 40%)
HSVhsv(238, 79%, 65%)
CMYKcmyk(79%, 76%, 0%, 34.5%)
CIE-LABlab(25.76, 42.95, -67.58)
CIE-LCHlch(25.76, 80.08, 302.44°)
OKLaboklab(37.81% 0.0022 -0.1957)
OKLCHoklch(37.81% 0.196 270.6)
XYZxyz(8.4246, 4.6640, 37.0080)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2328A7 #A7A223
analogous
#236AA7 #2328A7 #6023A7
triadic
#2328A7 #A72328 #28A723
tetradic
#2328A7 #A7236A #A7A223 #23A760
square
#2328A7 #A7236A #A7A223 #23A760
split-complementary
#2328A7 #A76023 #6AA723
monochromatic
#0E1042 #181C74 #2328A7 #3339D4 #666ADF

Accessibility & contrast

On white

10.86
#2328A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#2328A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2328A7#FFFFFF#000000##FFFFFF
##2328A71.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2328a7;
/* rgb */ color: rgb(35, 40, 167);
/* oklch */ color: oklch(37.8% 0.196 270.6);
Tailwind
colors: {
  custom: {
    50: '#7664c2',
    500: '#2328a7',
    950: '#000000',
  },
}
SCSS
$custom: #2328a7;
$custom-light: #7664c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2328a7",
  "rgb": {
    "r": 35,
    "g": 40,
    "b": 167
  },
  "hsl": {
    "h": 237.727,
    "s": 65.347,
    "l": 39.608
  },
  "oklch": {
    "l": 0.37814,
    "c": 0.19573,
    "h": 270.6
  },
  "luminance": 0.04665
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2328A7

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

Preview Lab → · Contrast checker → · Palette generator →

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