#2351A3#2351A3

#2351A3 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.1% C 0.142 H 260.9°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#2351A3
RGBrgb(35, 81, 163)
HSLhsl(218, 65%, 39%)
HSVhsv(218, 79%, 64%)
CMYKcmyk(78.5%, 50.3%, 0%, 36.1%)
CIE-LABlab(35.76, 14.83, -48.82)
CIE-LCHlch(35.76, 51.02, 286.90°)
OKLaboklab(45.11% -0.0224 -0.1404)
OKLCHoklch(45.11% 0.142 260.9)
XYZxyz(10.2440, 8.8853, 35.8184)
Luminance0.0889 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2351A3 #A37523
analogous
#2391A3 #2351A3 #3523A3
triadic
#2351A3 #A32351 #51A323
tetradic
#2351A3 #A32391 #A37523 #23A335
square
#2351A3 #A32391 #A37523 #23A335
split-complementary
#2351A3 #A33523 #91A323
monochromatic
#0D1F3E #183871 #2351A3 #316BD3 #638FDD

Accessibility & contrast

On white

7.56
#2351A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#2351A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2351A3
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2351A3#FFFFFF#000000##FFFFFF
##2351A31.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205AA6
Deuteranopia (green-blind)
#004FA1
Tritanopia (blue-blind)
#006572
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2351a3;
/* rgb */ color: rgb(35, 81, 163);
/* oklch */ color: oklch(45.1% 0.142 260.9);
Tailwind
colors: {
  custom: {
    50: '#7281bf',
    500: '#2351a3',
    950: '#000000',
  },
}
SCSS
$custom: #2351a3;
$custom-light: #7281bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2351a3",
  "rgb": {
    "r": 35,
    "g": 81,
    "b": 163
  },
  "hsl": {
    "h": 218.438,
    "s": 64.646,
    "l": 38.824
  },
  "oklch": {
    "l": 0.45113,
    "c": 0.14218,
    "h": 260.9
  },
  "luminance": 0.08887
}

Semantic roles & 50–950 ramp

primary
#2351A3
secondary
#C39F5F
accent
#AB40E8
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2351A3

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

Preview Lab → · Contrast checker → · Palette generator →

#2351A3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva