#2352A1#2352A1

#2352A1 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.2% C 0.138 H 260.2°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#2352A1
RGBrgb(35, 82, 161)
HSLhsl(218, 64%, 38%)
HSVhsv(218, 78%, 63%)
CMYKcmyk(78.3%, 49.1%, 0%, 36.9%)
CIE-LABlab(35.91, 13.38, -47.37)
CIE-LCHlch(35.91, 49.23, 285.77°)
OKLaboklab(45.18% -0.0236 -0.1361)
OKLCHoklch(45.18% 0.138 260.2)
XYZxyz(10.1411, 8.9639, 34.9070)
Luminance0.0896 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2352A1 #A17223
analogous
#2391A1 #2352A1 #3323A1
triadic
#2352A1 #A12352 #52A123
tetradic
#2352A1 #A12391 #A17223 #23A133
square
#2352A1 #A12391 #A17223 #23A133
split-complementary
#2352A1 #A13323 #91A123
monochromatic
#0D1F3C #18386F #2352A1 #2F6CD2 #6290DD

Accessibility & contrast

On white

7.52
#2352A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#2352A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2352A1
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2352A1#FFFFFF#000000##FFFFFF
##2352A11.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255BA4
Deuteranopia (green-blind)
#004F9F
Tritanopia (blue-blind)
#006572
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2352a1;
/* rgb */ color: rgb(35, 82, 161);
/* oklch */ color: oklch(45.2% 0.138 260.2);
Tailwind
colors: {
  custom: {
    50: '#7182bd',
    500: '#2352a1',
    950: '#000000',
  },
}
SCSS
$custom: #2352a1;
$custom-light: #7182bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2352a1",
  "rgb": {
    "r": 35,
    "g": 82,
    "b": 161
  },
  "hsl": {
    "h": 217.619,
    "s": 64.286,
    "l": 38.431
  },
  "oklch": {
    "l": 0.45185,
    "c": 0.13815,
    "h": 260.2
  },
  "luminance": 0.08965
}

Semantic roles & 50–950 ramp

primary
#2352A1
secondary
#C29D5E
accent
#A941E7
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2352A1

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

Preview Lab → · Contrast checker → · Palette generator →

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