#2351A8#2351A8

#2351A8 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.5% C 0.149 H 261.6°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#2351A8
RGBrgb(35, 81, 168)
HSLhsl(219, 66%, 40%)
HSVhsv(219, 79%, 66%)
CMYKcmyk(79.2%, 51.8%, 0%, 34.1%)
CIE-LABlab(36.12, 16.80, -51.23)
CIE-LCHlch(36.12, 53.92, 288.15°)
OKLaboklab(45.49% -0.0218 -0.1475)
OKLCHoklch(45.49% 0.149 261.6)
XYZxyz(10.7009, 9.0681, 38.2245)
Luminance0.0907 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2351A8 #A87A23
analogous
#2394A8 #2351A8 #3823A8
triadic
#2351A8 #A82351 #51A823
tetradic
#2351A8 #A82394 #A87A23 #23A838
square
#2351A8 #A82394 #A87A23 #23A838
split-complementary
#2351A8 #A83823 #94A823
monochromatic
#0E2043 #183975 #2351A8 #346BD5 #6690DF

Accessibility & contrast

On white

7.46
#2351A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#2351A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2351A8
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2351A8#FFFFFF#000000##FFFFFF
##2351A81.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#185BAB
Deuteranopia (green-blind)
#004FA6
Tritanopia (blue-blind)
#006674
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2351a8;
/* rgb */ color: rgb(35, 81, 168);
/* oklch */ color: oklch(45.5% 0.149 261.6);
Tailwind
colors: {
  custom: {
    50: '#7381c2',
    500: '#2351a8',
    950: '#000000',
  },
}
SCSS
$custom: #2351a8;
$custom-light: #7381c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2351a8",
  "rgb": {
    "r": 35,
    "g": 81,
    "b": 168
  },
  "hsl": {
    "h": 219.248,
    "s": 65.517,
    "l": 39.804
  },
  "oklch": {
    "l": 0.45494,
    "c": 0.14911,
    "h": 261.6
  },
  "luminance": 0.09069
}

Semantic roles & 50–950 ramp

primary
#2351A8
secondary
#C5A362
accent
#AE3FE8
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2351A8

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

Preview Lab → · Contrast checker → · Palette generator →

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