#2333A5#2333A5

#2333A5 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.3% C 0.182 H 269.2°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#2333A5
RGBrgb(35, 51, 165)
HSLhsl(233, 65%, 39%)
HSVhsv(233, 79%, 65%)
CMYKcmyk(78.8%, 69.1%, 0%, 35.3%)
CIE-LABlab(27.95, 35.58, -62.75)
CIE-LCHlch(27.95, 72.13, 299.56°)
OKLaboklab(39.33% -0.0024 -0.1817)
OKLCHoklch(39.33% 0.182 269.2)
XYZxyz(8.6662, 5.4406, 36.1834)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2333A5 #A59523
analogous
#2374A5 #2333A5 #5423A5
triadic
#2333A5 #A52333 #33A523
tetradic
#2333A5 #A52374 #A59523 #23A554
square
#2333A5 #A52374 #A59523 #23A554
split-complementary
#2333A5 #A55423 #74A523
monochromatic
#0E1440 #182373 #2333A5 #3246D3 #6473DE

Accessibility & contrast

On white

10.06
#2333A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#2333A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2333A5
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2333A5#FFFFFF#000000##FFFFFF
##2333A51.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A9
Deuteranopia (green-blind)
#003CA3
Tritanopia (blue-blind)
#005268
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2333a5;
/* rgb */ color: rgb(35, 51, 165);
/* oklch */ color: oklch(39.3% 0.182 269.2);
Tailwind
colors: {
  custom: {
    50: '#756bc1',
    500: '#2333a5',
    950: '#000000',
  },
}
SCSS
$custom: #2333a5;
$custom-light: #756bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#2333a5",
  "rgb": {
    "r": 35,
    "g": 51,
    "b": 165
  },
  "hsl": {
    "h": 232.615,
    "s": 65,
    "l": 39.216
  },
  "oklch": {
    "l": 0.3933,
    "c": 0.1817,
    "h": 269.2
  },
  "luminance": 0.05442
}

Semantic roles & 50–950 ramp

primary
#2333A5
secondary
#C4B760
accent
#D340E8
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2333A5

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

Preview Lab → · Contrast checker → · Palette generator →

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