#2352A8#2352A8

#2352A8 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.7% C 0.148 H 261.2°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#2352A8
RGBrgb(35, 82, 168)
HSLhsl(219, 66%, 40%)
HSVhsv(219, 79%, 66%)
CMYKcmyk(79.2%, 51.2%, 0%, 34.1%)
CIE-LABlab(36.40, 16.13, -50.77)
CIE-LCHlch(36.40, 53.27, 287.63°)
OKLaboklab(45.71% -0.0225 -0.1461)
OKLCHoklch(45.71% 0.148 261.2)
XYZxyz(10.7758, 9.2178, 38.2495)
Luminance0.0922 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2352A8 #A87923
analogous
#2395A8 #2352A8 #3723A8
triadic
#2352A8 #A82352 #52A823
tetradic
#2352A8 #A82395 #A87923 #23A837
square
#2352A8 #A82395 #A87923 #23A837
split-complementary
#2352A8 #A83723 #95A823
monochromatic
#0E2143 #183975 #2352A8 #346CD5 #6691DF

Accessibility & contrast

On white

7.38
#2352A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#2352A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2352A8
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2352A8#FFFFFF#000000##FFFFFF
##2352A81.007.382.847.38
#FFFFFF7.381.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5CAB
Deuteranopia (green-blind)
#0050A6
Tritanopia (blue-blind)
#006775
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2352a8;
/* rgb */ color: rgb(35, 82, 168);
/* oklch */ color: oklch(45.7% 0.148 261.2);
Tailwind
colors: {
  custom: {
    50: '#7382c2',
    500: '#2352a8',
    950: '#000000',
  },
}
SCSS
$custom: #2352a8;
$custom-light: #7382c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2352a8",
  "rgb": {
    "r": 35,
    "g": 82,
    "b": 168
  },
  "hsl": {
    "h": 218.797,
    "s": 65.517,
    "l": 39.804
  },
  "oklch": {
    "l": 0.45712,
    "c": 0.14787,
    "h": 261.2
  },
  "luminance": 0.09219
}

Semantic roles & 50–950 ramp

primary
#2352A8
secondary
#C5A262
accent
#AD3FE8
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2352A8

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

Preview Lab → · Contrast checker → · Palette generator →

#2352A8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva