#2335A0#2335A0

#2335A0 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.2% C 0.173 H 269.0°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#2335A0
RGBrgb(35, 53, 160)
HSLhsl(231, 64%, 38%)
HSVhsv(231, 78%, 63%)
CMYKcmyk(78.1%, 66.9%, 0%, 37.3%)
CIE-LABlab(27.96, 32.45, -59.72)
CIE-LCHlch(27.96, 67.97, 298.52°)
OKLaboklab(39.18% -0.0031 -0.1728)
OKLCHoklch(39.18% 0.173 269)
XYZxyz(8.3092, 5.4407, 33.8631)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2335A0 #A08E23
analogous
#2373A0 #2335A0 #4F23A0
triadic
#2335A0 #A02335 #35A023
tetradic
#2335A0 #A02373 #A08E23 #23A04F
square
#2335A0 #A02373 #A08E23 #23A04F
split-complementary
#2335A0 #A04F23 #73A023
monochromatic
#0D143C #18246E #2335A0 #2F46D1 #6173DC

Accessibility & contrast

On white

10.06
#2335A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#2335A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2335A0
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2335A0#FFFFFF#000000##FFFFFF
##2335A01.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A3
Deuteranopia (green-blind)
#003C9E
Tritanopia (blue-blind)
#005266
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2335a0;
/* rgb */ color: rgb(35, 53, 160);
/* oklch */ color: oklch(39.2% 0.173 269.0);
Tailwind
colors: {
  custom: {
    50: '#736cbd',
    500: '#2335a0',
    950: '#000000',
  },
}
SCSS
$custom: #2335a0;
$custom-light: #736cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2335a0",
  "rgb": {
    "r": 35,
    "g": 53,
    "b": 160
  },
  "hsl": {
    "h": 231.36,
    "s": 64.103,
    "l": 38.235
  },
  "oklch": {
    "l": 0.39184,
    "c": 0.17286,
    "h": 269
  },
  "luminance": 0.05442
}

Semantic roles & 50–950 ramp

primary
#2335A0
secondary
#C1B35D
accent
#CF41E7
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #2335A0

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

Preview Lab → · Contrast checker → · Palette generator →

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