#2323D4#2323D4

#2323D4 is a dark, highly saturated blue. Relative luminance 0.063; OKLCH L 42.4% C 0.251 H 268.8°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#2323D4
RGBrgb(35, 35, 212)
HSLhsl(240, 72%, 48%)
HSVhsv(240, 83%, 83%)
CMYKcmyk(83.5%, 83.5%, 0%, 16.9%)
CIE-LABlab(30.18, 59.69, -86.85)
CIE-LCHlch(30.18, 105.38, 304.50°)
OKLaboklab(42.43% -0.0053 -0.2514)
OKLCHoklch(42.43% 0.251 268.8)
XYZxyz(13.1738, 6.3113, 62.7985)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2323D4 #D4D423
analogous
#237BD4 #2323D4 #7B23D4
triadic
#2323D4 #D42323 #23D423
tetradic
#2323D4 #D4237B #D4D423 #23D47B
square
#2323D4 #D4237B #D4D423 #23D47B
split-complementary
#2323D4 #D47B23 #7BD423
monochromatic
#12126B #1A1A9F #2323D4 #5252E2 #8686EB

Accessibility & contrast

On white

9.28
#2323D4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#2323D4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2323D4
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2323D4#FFFFFF#000000##FFFFFF
##2323D41.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050D9
Deuteranopia (green-blind)
#003DD1
Tritanopia (blue-blind)
#005E7F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2323d4;
/* rgb */ color: rgb(35, 35, 212);
/* oklch */ color: oklch(42.4% 0.251 268.8);
Tailwind
colors: {
  custom: {
    50: '#8264e3',
    500: '#2323d4',
    950: '#000000',
  },
}
SCSS
$custom: #2323d4;
$custom-light: #8264e3;
$custom-dark: #000000;
JSON
{
  "hex": "#2323d4",
  "rgb": {
    "r": 35,
    "g": 35,
    "b": 212
  },
  "hsl": {
    "h": 240,
    "s": 71.66,
    "l": 48.431
  },
  "oklch": {
    "l": 0.42429,
    "c": 0.25148,
    "h": 268.8
  },
  "luminance": 0.06313
}

Semantic roles & 50–950 ramp

primary
#2323D4
secondary
#D4D47E
accent
#EE39EE
background
#F9F6FE
surface
#F1EBFC
border
#CBC6D5
text
#0D0616
muted
#7E7A84

Preview Lab

Preview with #2323D4

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

Preview Lab → · Contrast checker → · Palette generator →

#2323D4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva