#2351A9#2351A9

#2351A9 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.6% C 0.150 H 261.7°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#2351A9
RGBrgb(35, 81, 169)
HSLhsl(219, 66%, 40%)
HSVhsv(219, 79%, 66%)
CMYKcmyk(79.3%, 52.1%, 0%, 33.7%)
CIE-LABlab(36.19, 17.19, -51.71)
CIE-LCHlch(36.19, 54.50, 288.39°)
OKLaboklab(45.57% -0.0216 -0.1489)
OKLCHoklch(45.57% 0.151 261.7)
XYZxyz(10.7944, 9.1055, 38.7171)
Luminance0.0911 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2351A9 #A97B23
analogous
#2394A9 #2351A9 #3823A9
triadic
#2351A9 #A92351 #51A923
tetradic
#2351A9 #A92394 #A97B23 #23A938
square
#2351A9 #A92394 #A97B23 #23A938
split-complementary
#2351A9 #A93823 #94A923
monochromatic
#0E2044 #193976 #2351A9 #346BD5 #6790DF

Accessibility & contrast

On white

7.44
#2351A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#2351A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2351A9
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2351A9#FFFFFF#000000##FFFFFF
##2351A91.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)
#165CAC
Deuteranopia (green-blind)
#004FA7
Tritanopia (blue-blind)
#006675
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2351a9;
/* rgb */ color: rgb(35, 81, 169);
/* oklch */ color: oklch(45.6% 0.150 261.7);
Tailwind
colors: {
  custom: {
    50: '#7381c3',
    500: '#2351a9',
    950: '#000000',
  },
}
SCSS
$custom: #2351a9;
$custom-light: #7381c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2351a9",
  "rgb": {
    "r": 35,
    "g": 81,
    "b": 169
  },
  "hsl": {
    "h": 219.403,
    "s": 65.686,
    "l": 40
  },
  "oklch": {
    "l": 0.45571,
    "c": 0.1505,
    "h": 261.7
  },
  "luminance": 0.09107
}

Semantic roles & 50–950 ramp

primary
#2351A9
secondary
#C5A363
accent
#AE3FE9
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#090A13
muted
#7B7C82

Preview Lab

Preview with #2351A9

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

Preview Lab → · Contrast checker → · Palette generator →

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