#2352A7#2352A7

#2352A7 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.6% C 0.146 H 261.1°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#2352A7
RGBrgb(35, 82, 167)
HSLhsl(219, 65%, 40%)
HSVhsv(219, 79%, 65%)
CMYKcmyk(79%, 50.9%, 0%, 34.5%)
CIE-LABlab(36.33, 15.74, -50.29)
CIE-LCHlch(36.33, 52.70, 287.38°)
OKLaboklab(45.64% -0.0227 -0.1447)
OKLCHoklch(45.64% 0.146 261.1)
XYZxyz(10.6830, 9.1807, 37.7607)
Luminance0.0918 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2352A7 #A77823
analogous
#2394A7 #2352A7 #3623A7
triadic
#2352A7 #A72352 #52A723
tetradic
#2352A7 #A72394 #A77823 #23A736
square
#2352A7 #A72394 #A77823 #23A736
split-complementary
#2352A7 #A73623 #94A723
monochromatic
#0E2042 #183974 #2352A7 #336CD4 #6691DF

Accessibility & contrast

On white

7.40
#2352A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2352A7
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2352A7#FFFFFF#000000##FFFFFF
##2352A71.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5CAA
Deuteranopia (green-blind)
#0050A5
Tritanopia (blue-blind)
#006774
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2352a7;
/* rgb */ color: rgb(35, 82, 167);
/* oklch */ color: oklch(45.6% 0.146 261.1);
Tailwind
colors: {
  custom: {
    50: '#7382c2',
    500: '#2352a7',
    950: '#000000',
  },
}
SCSS
$custom: #2352a7;
$custom-light: #7382c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2352a7",
  "rgb": {
    "r": 35,
    "g": 82,
    "b": 167
  },
  "hsl": {
    "h": 218.636,
    "s": 65.347,
    "l": 39.608
  },
  "oklch": {
    "l": 0.45636,
    "c": 0.14649,
    "h": 261.1
  },
  "luminance": 0.09182
}

Semantic roles & 50–950 ramp

primary
#2352A7
secondary
#C4A161
accent
#AC3FE8
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2352A7

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

Preview Lab → · Contrast checker → · Palette generator →

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