#2335B1#2335B1

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

Color values

HEX#2335B1
RGBrgb(35, 53, 177)
HSLhsl(232, 67%, 42%)
HSVhsv(232, 80%, 69%)
CMYKcmyk(80.2%, 70.1%, 0%, 30.6%)
CIE-LABlab(29.61, 38.67, -67.23)
CIE-LCHlch(29.61, 77.56, 299.91°)
OKLaboklab(40.88% -0.0045 -0.1948)
OKLCHoklch(40.88% 0.195 268.7)
XYZxyz(9.8993, 6.0767, 42.2376)
Luminance0.0608 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2335B1 #B19F23
analogous
#237CB1 #2335B1 #5823B1
triadic
#2335B1 #B12335 #35B123
tetradic
#2335B1 #B1237C #B19F23 #23B158
square
#2335B1 #B1237C #B19F23 #23B158
split-complementary
#2335B1 #B15823 #7CB123
monochromatic
#0F164B #19267E #2335B1 #394DD8 #6C7BE2

Accessibility & contrast

On white

9.48
#2335B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2335B1
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2335B1#FFFFFF#000000##FFFFFF
##2335B11.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2335b1;
/* rgb */ color: rgb(35, 53, 177);
/* oklch */ color: oklch(40.9% 0.195 268.7);
Tailwind
colors: {
  custom: {
    50: '#786dc9',
    500: '#2335b1',
    950: '#000000',
  },
}
SCSS
$custom: #2335b1;
$custom-light: #786dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#2335b1",
  "rgb": {
    "r": 35,
    "g": 53,
    "b": 177
  },
  "hsl": {
    "h": 232.394,
    "s": 66.981,
    "l": 41.569
  },
  "oklch": {
    "l": 0.40883,
    "c": 0.19481,
    "h": 268.7
  },
  "luminance": 0.06078
}

Semantic roles & 50–950 ramp

primary
#2335B1
secondary
#C8BC68
accent
#D43EEA
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2335B1

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

Preview Lab → · Contrast checker → · Palette generator →

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