#2333A8#2333A8

#2333A8 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.6% C 0.186 H 269.2°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#2333A8
RGBrgb(35, 51, 168)
HSLhsl(233, 66%, 40%)
HSVhsv(233, 79%, 66%)
CMYKcmyk(79.2%, 69.6%, 0%, 34.1%)
CIE-LABlab(28.25, 36.67, -64.07)
CIE-LCHlch(28.25, 73.82, 299.79°)
OKLaboklab(39.63% -0.0027 -0.1855)
OKLCHoklch(39.63% 0.186 269.2)
XYZxyz(8.9424, 5.5511, 37.6384)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2333A8 #A89823
analogous
#2376A8 #2333A8 #5623A8
triadic
#2333A8 #A82333 #33A823
tetradic
#2333A8 #A82376 #A89823 #23A856
square
#2333A8 #A82376 #A89823 #23A856
split-complementary
#2333A8 #A85623 #76A823
monochromatic
#0E1443 #182475 #2333A8 #3447D5 #6675DF

Accessibility & contrast

On white

9.95
#2333A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#2333A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2333A8
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2333A8#FFFFFF#000000##FFFFFF
##2333A81.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AC
Deuteranopia (green-blind)
#003CA6
Tritanopia (blue-blind)
#005369
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2333a8;
/* rgb */ color: rgb(35, 51, 168);
/* oklch */ color: oklch(39.6% 0.186 269.2);
Tailwind
colors: {
  custom: {
    50: '#756bc3',
    500: '#2333a8',
    950: '#000000',
  },
}
SCSS
$custom: #2333a8;
$custom-light: #756bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#2333a8",
  "rgb": {
    "r": 35,
    "g": 51,
    "b": 168
  },
  "hsl": {
    "h": 232.782,
    "s": 65.517,
    "l": 39.804
  },
  "oklch": {
    "l": 0.39634,
    "c": 0.18556,
    "h": 269.2
  },
  "luminance": 0.05552
}

Semantic roles & 50–950 ramp

primary
#2333A8
secondary
#C5B962
accent
#D43FE8
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #2333A8

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

Preview Lab → · Contrast checker → · Palette generator →

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