#2351AB#2351AB

#2351AB is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.7% C 0.153 H 262.0°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#2351AB
RGBrgb(35, 81, 171)
HSLhsl(220, 66%, 40%)
HSVhsv(220, 80%, 67%)
CMYKcmyk(79.5%, 52.6%, 0%, 32.9%)
CIE-LABlab(36.33, 17.98, -52.67)
CIE-LCHlch(36.33, 55.65, 288.85°)
OKLaboklab(45.73% -0.0214 -0.1517)
OKLCHoklch(45.73% 0.153 262)
XYZxyz(10.9836, 9.1812, 39.7134)
Luminance0.0918 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2351AB #AB7D23
analogous
#2395AB #2351AB #3923AB
triadic
#2351AB #AB2351 #51AB23
tetradic
#2351AB #AB2395 #AB7D23 #23AB39
square
#2351AB #AB2395 #AB7D23 #23AB39
split-complementary
#2351AB #AB3923 #95AB23
monochromatic
#0E2145 #193978 #2351AB #356CD6 #6891E0

Accessibility & contrast

On white

7.40
#2351AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#2351AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2351AB
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2351AB#FFFFFF#000000##FFFFFF
##2351AB1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#115CAE
Deuteranopia (green-blind)
#0050A9
Tritanopia (blue-blind)
#006776
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2351ab;
/* rgb */ color: rgb(35, 81, 171);
/* oklch */ color: oklch(45.7% 0.153 262.0);
Tailwind
colors: {
  custom: {
    50: '#7481c5',
    500: '#2351ab',
    950: '#000000',
  },
}
SCSS
$custom: #2351ab;
$custom-light: #7481c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2351ab",
  "rgb": {
    "r": 35,
    "g": 81,
    "b": 171
  },
  "hsl": {
    "h": 219.706,
    "s": 66.019,
    "l": 40.392
  },
  "oklch": {
    "l": 0.45727,
    "c": 0.15324,
    "h": 262
  },
  "luminance": 0.09182
}

Semantic roles & 50–950 ramp

primary
#2351AB
secondary
#C6A564
accent
#AF3FE9
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2351AB

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

Preview Lab → · Contrast checker → · Palette generator →

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