#2333A7#2333A7

#2333A7 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.5% C 0.184 H 269.2°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#2333A7
RGBrgb(35, 51, 167)
HSLhsl(233, 65%, 40%)
HSVhsv(233, 79%, 65%)
CMYKcmyk(79%, 69.5%, 0%, 34.5%)
CIE-LABlab(28.15, 36.31, -63.63)
CIE-LCHlch(28.15, 73.26, 299.71°)
OKLaboklab(39.53% -0.0026 -0.1842)
OKLCHoklch(39.53% 0.184 269.2)
XYZxyz(8.8496, 5.5140, 37.1496)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2333A7 #A79723
analogous
#2375A7 #2333A7 #5523A7
triadic
#2333A7 #A72333 #33A723
tetradic
#2333A7 #A72375 #A79723 #23A755
square
#2333A7 #A72375 #A79723 #23A755
split-complementary
#2333A7 #A75523 #75A723
monochromatic
#0E1442 #182474 #2333A7 #3347D4 #6674DF

Accessibility & contrast

On white

9.99
#2333A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#2333A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2333A7
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2333A7#FFFFFF#000000##FFFFFF
##2333A71.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AB
Deuteranopia (green-blind)
#003CA5
Tritanopia (blue-blind)
#005369
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2333a7;
/* rgb */ color: rgb(35, 51, 167);
/* oklch */ color: oklch(39.5% 0.184 269.2);
Tailwind
colors: {
  custom: {
    50: '#756bc2',
    500: '#2333a7',
    950: '#000000',
  },
}
SCSS
$custom: #2333a7;
$custom-light: #756bc2;
$custom-dark: #000000;
JSON
{
  "hex": "#2333a7",
  "rgb": {
    "r": 35,
    "g": 51,
    "b": 167
  },
  "hsl": {
    "h": 232.727,
    "s": 65.347,
    "l": 39.608
  },
  "oklch": {
    "l": 0.39532,
    "c": 0.18427,
    "h": 269.2
  },
  "luminance": 0.05515
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2333A7

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

Preview Lab → · Contrast checker → · Palette generator →

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