#2330D4#2330D4

#2330D4 is a dark, highly saturated blue. Relative luminance 0.072; OKLCH L 43.9% C 0.242 H 268.2°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#2330D4
RGBrgb(35, 48, 212)
HSLhsl(236, 72%, 48%)
HSVhsv(236, 83%, 83%)
CMYKcmyk(83.5%, 77.4%, 0%, 16.9%)
CIE-LABlab(32.31, 53.48, -83.32)
CIE-LCHlch(32.31, 99.01, 302.69°)
OKLaboklab(43.91% -0.0074 -0.2414)
OKLCHoklch(43.91% 0.242 268.2)
XYZxyz(13.6297, 7.2230, 62.9504)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2330D4 #D4C723
analogous
#2388D4 #2330D4 #6E23D4
triadic
#2330D4 #D42330 #30D423
tetradic
#2330D4 #D42388 #D4C723 #23D46E
square
#2330D4 #D42388 #D4C723 #23D46E
split-complementary
#2330D4 #D46E23 #88D423
monochromatic
#12186B #1A249F #2330D4 #525CE2 #868EEB

Accessibility & contrast

On white

8.59
#2330D4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#2330D4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2330D4
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2330D4#FFFFFF#000000##FFFFFF
##2330D41.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055D9
Deuteranopia (green-blind)
#0043D1
Tritanopia (blue-blind)
#006281
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2330d4;
/* rgb */ color: rgb(35, 48, 212);
/* oklch */ color: oklch(43.9% 0.242 268.2);
Tailwind
colors: {
  custom: {
    50: '#816be3',
    500: '#2330d4',
    950: '#000000',
  },
}
SCSS
$custom: #2330d4;
$custom-light: #816be3;
$custom-dark: #000000;
JSON
{
  "hex": "#2330d4",
  "rgb": {
    "r": 35,
    "g": 48,
    "b": 212
  },
  "hsl": {
    "h": 235.593,
    "s": 71.66,
    "l": 48.431
  },
  "oklch": {
    "l": 0.43911,
    "c": 0.24156,
    "h": 268.2
  },
  "luminance": 0.07225
}

Semantic roles & 50–950 ramp

primary
#2330D4
secondary
#D4CE7E
accent
#E139EE
background
#F9F6FE
surface
#F1EBFC
border
#CBC6D5
text
#0D0716
muted
#7E7A84

Preview Lab

Preview with #2330D4

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

Preview Lab → · Contrast checker → · Palette generator →

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