#2335B2#2335B2

#2335B2 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 41.0% C 0.196 H 268.7°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#2335B2
RGBrgb(35, 53, 178)
HSLhsl(232, 67%, 42%)
HSVhsv(232, 80%, 70%)
CMYKcmyk(80.3%, 70.2%, 0%, 30.2%)
CIE-LABlab(29.70, 39.03, -67.66)
CIE-LCHlch(29.70, 78.12, 299.98°)
OKLaboklab(40.99% -0.0046 -0.196)
OKLCHoklch(40.99% 0.196 268.7)
XYZxyz(9.9993, 6.1167, 42.7645)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2335B2 #B2A023
analogous
#237CB2 #2335B2 #5923B2
triadic
#2335B2 #B22335 #35B223
tetradic
#2335B2 #B2237C #B2A023 #23B259
square
#2335B2 #B2237C #B2A023 #23B259
split-complementary
#2335B2 #B25923 #7CB223
monochromatic
#0F174C #19267F #2335B2 #3A4ED8 #6D7CE2

Accessibility & contrast

On white

9.44
#2335B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#2335B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2335B2
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2335B2#FFFFFF#000000##FFFFFF
##2335B21.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB6
Deuteranopia (green-blind)
#003FB0
Tritanopia (blue-blind)
#00586F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2335b2;
/* rgb */ color: rgb(35, 53, 178);
/* oklch */ color: oklch(41.0% 0.196 268.7);
Tailwind
colors: {
  custom: {
    50: '#786dca',
    500: '#2335b2',
    950: '#000000',
  },
}
SCSS
$custom: #2335b2;
$custom-light: #786dca;
$custom-dark: #000000;
JSON
{
  "hex": "#2335b2",
  "rgb": {
    "r": 35,
    "g": 53,
    "b": 178
  },
  "hsl": {
    "h": 232.448,
    "s": 67.136,
    "l": 41.765
  },
  "oklch": {
    "l": 0.40986,
    "c": 0.19606,
    "h": 268.7
  },
  "luminance": 0.06118
}

Semantic roles & 50–950 ramp

primary
#2335B2
secondary
#C9BC68
accent
#D43EEA
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2335B2

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

Preview Lab → · Contrast checker → · Palette generator →

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