#2351B4#2351B4

#2351B4 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.4% C 0.166 H 262.9°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#2351B4
RGBrgb(35, 81, 180)
HSLhsl(221, 67%, 42%)
HSVhsv(221, 81%, 71%)
CMYKcmyk(80.6%, 55%, 0%, 29.4%)
CIE-LABlab(37.00, 21.50, -56.92)
CIE-LCHlch(37.00, 60.84, 290.69°)
OKLaboklab(46.44% -0.0205 -0.1642)
OKLCHoklch(46.44% 0.166 262.9)
XYZxyz(11.8708, 9.5361, 44.3862)
Luminance0.0954 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2351B4 #B48623
analogous
#2399B4 #2351B4 #3E23B4
triadic
#2351B4 #B42351 #51B423
tetradic
#2351B4 #B42399 #B48623 #23B43E
square
#2351B4 #B42399 #B48623 #23B43E
split-complementary
#2351B4 #B43E23 #99B423
monochromatic
#0F234E #193A81 #2351B4 #3B6DD9 #6E93E3

Accessibility & contrast

On white

7.22
#2351B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#2351B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2351B4
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2351B4#FFFFFF#000000##FFFFFF
##2351B41.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB7
Deuteranopia (green-blind)
#0051B2
Tritanopia (blue-blind)
#00697A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2351b4;
/* rgb */ color: rgb(35, 81, 180);
/* oklch */ color: oklch(46.4% 0.166 262.9);
Tailwind
colors: {
  custom: {
    50: '#7681cb',
    500: '#2351b4',
    950: '#000000',
  },
}
SCSS
$custom: #2351b4;
$custom-light: #7681cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2351b4",
  "rgb": {
    "r": 35,
    "g": 81,
    "b": 180
  },
  "hsl": {
    "h": 220.966,
    "s": 67.442,
    "l": 42.157
  },
  "oklch": {
    "l": 0.46443,
    "c": 0.16552,
    "h": 262.9
  },
  "luminance": 0.09537
}

Semantic roles & 50–950 ramp

primary
#2351B4
secondary
#C9AB69
accent
#B33DEA
background
#F7F7FC
surface
#EEEEF9
border
#C9C9D2
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2351B4

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

Preview Lab → · Contrast checker → · Palette generator →

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