#2352A5#2352A5

#2352A5 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.5% C 0.144 H 260.8°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#2352A5
RGBrgb(35, 82, 165)
HSLhsl(218, 65%, 39%)
HSVhsv(218, 79%, 65%)
CMYKcmyk(78.8%, 50.3%, 0%, 35.3%)
CIE-LABlab(36.19, 14.95, -49.32)
CIE-LCHlch(36.19, 51.54, 286.86°)
OKLaboklab(45.48% -0.023 -0.1419)
OKLCHoklch(45.48% 0.144 260.8)
XYZxyz(10.4995, 9.1073, 36.7945)
Luminance0.0911 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2352A5 #A57623
analogous
#2393A5 #2352A5 #3523A5
triadic
#2352A5 #A52352 #52A523
tetradic
#2352A5 #A52393 #A57623 #23A535
square
#2352A5 #A52393 #A57623 #23A535
split-complementary
#2352A5 #A53523 #93A523
monochromatic
#0E2040 #183973 #2352A5 #326CD3 #6490DE

Accessibility & contrast

On white

7.44
#2352A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#2352A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2352A5
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2352A5#FFFFFF#000000##FFFFFF
##2352A51.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205BA8
Deuteranopia (green-blind)
#0050A3
Tritanopia (blue-blind)
#006673
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2352a5;
/* rgb */ color: rgb(35, 82, 165);
/* oklch */ color: oklch(45.5% 0.144 260.8);
Tailwind
colors: {
  custom: {
    50: '#7282c0',
    500: '#2352a5',
    950: '#000000',
  },
}
SCSS
$custom: #2352a5;
$custom-light: #7282c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2352a5",
  "rgb": {
    "r": 35,
    "g": 82,
    "b": 165
  },
  "hsl": {
    "h": 218.308,
    "s": 65,
    "l": 39.216
  },
  "oklch": {
    "l": 0.45484,
    "c": 0.14371,
    "h": 260.8
  },
  "luminance": 0.09109
}

Semantic roles & 50–950 ramp

primary
#2352A5
secondary
#C4A060
accent
#AB40E8
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2352A5

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

Preview Lab → · Contrast checker → · Palette generator →

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