#2333B2#2333B2

#2333B2 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.7% C 0.198 H 268.9°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#2333B2
RGBrgb(35, 51, 178)
HSLhsl(233, 67%, 42%)
HSVhsv(233, 80%, 70%)
CMYKcmyk(80.3%, 71.3%, 0%, 30.2%)
CIE-LABlab(29.26, 40.26, -68.40)
CIE-LCHlch(29.26, 79.38, 300.48°)
OKLaboklab(40.66% -0.0037 -0.1982)
OKLCHoklch(40.66% 0.198 268.9)
XYZxyz(9.9101, 5.9382, 42.7347)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2333B2 #B2A223
analogous
#237BB2 #2333B2 #5B23B2
triadic
#2333B2 #B22333 #33B223
tetradic
#2333B2 #B2237B #B2A223 #23B25B
square
#2333B2 #B2237B #B2A223 #23B25B
split-complementary
#2333B2 #B25B23 #7BB223
monochromatic
#0F164C #19247F #2333B2 #3A4CD8 #6D7AE2

Accessibility & contrast

On white

9.60
#2333B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#2333B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2333B2
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2333B2#FFFFFF#000000##FFFFFF
##2333B21.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB6
Deuteranopia (green-blind)
#003EB0
Tritanopia (blue-blind)
#00576F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2333b2;
/* rgb */ color: rgb(35, 51, 178);
/* oklch */ color: oklch(40.7% 0.198 268.9);
Tailwind
colors: {
  custom: {
    50: '#786bca',
    500: '#2333b2',
    950: '#000000',
  },
}
SCSS
$custom: #2333b2;
$custom-light: #786bca;
$custom-dark: #000000;
JSON
{
  "hex": "#2333b2",
  "rgb": {
    "r": 35,
    "g": 51,
    "b": 178
  },
  "hsl": {
    "h": 233.287,
    "s": 67.136,
    "l": 41.765
  },
  "oklch": {
    "l": 0.40662,
    "c": 0.1982,
    "h": 268.9
  },
  "luminance": 0.05939
}

Semantic roles & 50–950 ramp

primary
#2333B2
secondary
#C9BE68
accent
#D73EEA
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2333B2

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

Preview Lab → · Contrast checker → · Palette generator →

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