#2335D4#2335D4

#2335D4 is a dark, highly saturated blue. Relative luminance 0.077; OKLCH L 44.6% C 0.237 H 267.9°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#2335D4
RGBrgb(35, 53, 212)
HSLhsl(234, 72%, 48%)
HSVhsv(234, 83%, 83%)
CMYKcmyk(83.5%, 75%, 0%, 16.9%)
CIE-LABlab(33.25, 50.78, -81.76)
CIE-LCHlch(33.25, 96.24, 301.85°)
OKLaboklab(44.58% -0.0086 -0.237)
OKLCHoklch(44.58% 0.237 267.9)
XYZxyz(13.8458, 7.6553, 63.0225)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2335D4 #D4C223
analogous
#238DD4 #2335D4 #6923D4
triadic
#2335D4 #D42335 #35D423
tetradic
#2335D4 #D4238D #D4C223 #23D469
square
#2335D4 #D4238D #D4C223 #23D469
split-complementary
#2335D4 #D46923 #8DD423
monochromatic
#121B6B #1A289F #2335D4 #5261E2 #8691EB

Accessibility & contrast

On white

8.30
#2335D4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#2335D4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2335D4
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2335D4#FFFFFF#000000##FFFFFF
##2335D41.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057D9
Deuteranopia (green-blind)
#0045D1
Tritanopia (blue-blind)
#006582
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2335d4;
/* rgb */ color: rgb(35, 53, 212);
/* oklch */ color: oklch(44.6% 0.237 267.9);
Tailwind
colors: {
  custom: {
    50: '#816ee3',
    500: '#2335d4',
    950: '#000000',
  },
}
SCSS
$custom: #2335d4;
$custom-light: #816ee3;
$custom-dark: #000000;
JSON
{
  "hex": "#2335d4",
  "rgb": {
    "r": 35,
    "g": 53,
    "b": 212
  },
  "hsl": {
    "h": 233.898,
    "s": 71.66,
    "l": 48.431
  },
  "oklch": {
    "l": 0.44579,
    "c": 0.23713,
    "h": 267.9
  },
  "luminance": 0.07657
}

Semantic roles & 50–950 ramp

primary
#2335D4
secondary
#D4CC7E
accent
#DC39EE
background
#F8F6FE
surface
#F0ECFC
border
#CBC7D5
text
#0D0716
muted
#7D7A84

Preview Lab

Preview with #2335D4

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

Preview Lab → · Contrast checker → · Palette generator →

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