#2351AC#2351AC

#2351AC is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.8% C 0.155 H 262.1°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#2351AC
RGBrgb(35, 81, 172)
HSLhsl(220, 66%, 41%)
HSVhsv(220, 80%, 67%)
CMYKcmyk(79.7%, 52.9%, 0%, 32.5%)
CIE-LABlab(36.40, 18.37, -53.15)
CIE-LCHlch(36.40, 56.23, 289.07°)
OKLaboklab(45.81% -0.0213 -0.1531)
OKLCHoklch(45.81% 0.155 262.1)
XYZxyz(11.0793, 9.2194, 40.2173)
Luminance0.0922 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2351AC #AC7E23
analogous
#2395AC #2351AC #3923AC
triadic
#2351AC #AC2351 #51AC23
tetradic
#2351AC #AC2395 #AC7E23 #23AC39
square
#2351AC #AC2395 #AC7E23 #23AC39
split-complementary
#2351AC #AC3923 #95AC23
monochromatic
#0E2146 #193979 #2351AC #366CD6 #6991E0

Accessibility & contrast

On white

7.38
#2351AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2351AC
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2351AC#FFFFFF#000000##FFFFFF
##2351AC1.007.382.847.38
#FFFFFF7.381.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F5CAF
Deuteranopia (green-blind)
#0050AA
Tritanopia (blue-blind)
#006776
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2351ac;
/* rgb */ color: rgb(35, 81, 172);
/* oklch */ color: oklch(45.8% 0.155 262.1);
Tailwind
colors: {
  custom: {
    50: '#7481c5',
    500: '#2351ac',
    950: '#000000',
  },
}
SCSS
$custom: #2351ac;
$custom-light: #7481c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2351ac",
  "rgb": {
    "r": 35,
    "g": 81,
    "b": 172
  },
  "hsl": {
    "h": 219.854,
    "s": 66.184,
    "l": 40.588
  },
  "oklch": {
    "l": 0.45805,
    "c": 0.15461,
    "h": 262.1
  },
  "luminance": 0.09221
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2351AC

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

Preview Lab → · Contrast checker → · Palette generator →

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