#2335A7#2335A7

#2335A7 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.9% C 0.182 H 268.9°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#2335A7
RGBrgb(35, 53, 167)
HSLhsl(232, 65%, 40%)
HSVhsv(232, 79%, 65%)
CMYKcmyk(79%, 68.3%, 0%, 34.5%)
CIE-LABlab(28.62, 35.04, -62.85)
CIE-LCHlch(28.62, 71.96, 299.14°)
OKLaboklab(39.87% -0.0036 -0.182)
OKLCHoklch(39.87% 0.182 268.9)
XYZxyz(8.9389, 5.6925, 37.1794)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2335A7 #A79523
analogous
#2377A7 #2335A7 #5323A7
triadic
#2335A7 #A72335 #35A723
tetradic
#2335A7 #A72377 #A79523 #23A753
square
#2335A7 #A72377 #A79523 #23A753
split-complementary
#2335A7 #A75323 #77A723
monochromatic
#0E1542 #182574 #2335A7 #3349D4 #6676DF

Accessibility & contrast

On white

9.82
#2335A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#2335A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2335A7
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2335A7#FFFFFF#000000##FFFFFF
##2335A71.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAB
Deuteranopia (green-blind)
#003DA5
Tritanopia (blue-blind)
#005469
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2335a7;
/* rgb */ color: rgb(35, 53, 167);
/* oklch */ color: oklch(39.9% 0.182 268.9);
Tailwind
colors: {
  custom: {
    50: '#756cc2',
    500: '#2335a7',
    950: '#000000',
  },
}
SCSS
$custom: #2335a7;
$custom-light: #756cc2;
$custom-dark: #000000;
JSON
{
  "hex": "#2335a7",
  "rgb": {
    "r": 35,
    "g": 53,
    "b": 167
  },
  "hsl": {
    "h": 231.818,
    "s": 65.347,
    "l": 39.608
  },
  "oklch": {
    "l": 0.39874,
    "c": 0.18202,
    "h": 268.9
  },
  "luminance": 0.05694
}

Semantic roles & 50–950 ramp

primary
#2335A7
secondary
#C4B761
accent
#D13FE8
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2335A7

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

Preview Lab → · Contrast checker → · Palette generator →

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