#2328A6#2328A6

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

Color values

HEX#2328A6
RGBrgb(35, 40, 166)
HSLhsl(238, 65%, 39%)
HSVhsv(238, 79%, 65%)
CMYKcmyk(78.9%, 75.9%, 0%, 34.9%)
CIE-LABlab(25.65, 42.61, -67.16)
CIE-LCHlch(25.65, 79.54, 302.39°)
OKLaboklab(37.7% 0.0023 -0.1945)
OKLCHoklch(37.7% 0.195 270.7)
XYZxyz(8.3325, 4.6272, 36.5230)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2328A6 #A6A123
analogous
#236AA6 #2328A6 #6023A6
triadic
#2328A6 #A62328 #28A623
tetradic
#2328A6 #A6236A #A6A123 #23A660
square
#2328A6 #A6236A #A6A123 #23A660
split-complementary
#2328A6 #A66023 #6AA623
monochromatic
#0E1041 #181C73 #2328A6 #3239D4 #656ADF

Accessibility & contrast

On white

10.91
#2328A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##2328A6#FFFFFF#000000##FFFFFF
##2328A61.0010.911.9310.91
#FFFFFF10.911.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043AA
Deuteranopia (green-blind)
#0036A4
Tritanopia (blue-blind)
#004D65
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2328a6;
/* rgb */ color: rgb(35, 40, 166);
/* oklch */ color: oklch(37.7% 0.195 270.7);
Tailwind
colors: {
  custom: {
    50: '#7664c2',
    500: '#2328a6',
    950: '#000000',
  },
}
SCSS
$custom: #2328a6;
$custom-light: #7664c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2328a6",
  "rgb": {
    "r": 35,
    "g": 40,
    "b": 166
  },
  "hsl": {
    "h": 237.71,
    "s": 65.174,
    "l": 39.412
  },
  "oklch": {
    "l": 0.37703,
    "c": 0.1945,
    "h": 270.7
  },
  "luminance": 0.04628
}

Semantic roles & 50–950 ramp

primary
#2328A6
secondary
#C4C061
accent
#E240E8
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0513
muted
#7C7A82

Preview Lab

Preview with #2328A6

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

Preview Lab → · Contrast checker → · Palette generator →

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