#2351A7#2351A7

#2351A7 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.4% C 0.148 H 261.5°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#2351A7
RGBrgb(35, 81, 167)
HSLhsl(219, 65%, 40%)
HSVhsv(219, 79%, 65%)
CMYKcmyk(79%, 51.5%, 0%, 34.5%)
CIE-LABlab(36.04, 16.41, -50.75)
CIE-LCHlch(36.04, 53.34, 287.91°)
OKLaboklab(45.42% -0.0219 -0.1461)
OKLCHoklch(45.42% 0.148 261.5)
XYZxyz(10.6081, 9.0310, 37.7358)
Luminance0.0903 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2351A7 #A77923
analogous
#2393A7 #2351A7 #3723A7
triadic
#2351A7 #A72351 #51A723
tetradic
#2351A7 #A72393 #A77923 #23A737
square
#2351A7 #A72393 #A77923 #23A737
split-complementary
#2351A7 #A73723 #93A723
monochromatic
#0E2042 #183874 #2351A7 #336BD4 #6690DF

Accessibility & contrast

On white

7.48
#2351A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2351A7
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2351A7#FFFFFF#000000##FFFFFF
##2351A71.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195BAA
Deuteranopia (green-blind)
#004FA5
Tritanopia (blue-blind)
#006674
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2351a7;
/* rgb */ color: rgb(35, 81, 167);
/* oklch */ color: oklch(45.4% 0.148 261.5);
Tailwind
colors: {
  custom: {
    50: '#7381c2',
    500: '#2351a7',
    950: '#000000',
  },
}
SCSS
$custom: #2351a7;
$custom-light: #7381c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2351a7",
  "rgb": {
    "r": 35,
    "g": 81,
    "b": 167
  },
  "hsl": {
    "h": 219.091,
    "s": 65.347,
    "l": 39.608
  },
  "oklch": {
    "l": 0.45417,
    "c": 0.14773,
    "h": 261.5
  },
  "luminance": 0.09032
}

Semantic roles & 50–950 ramp

primary
#2351A7
secondary
#C4A261
accent
#AD3FE8
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2351A7

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

Preview Lab → · Contrast checker → · Palette generator →

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