#2351AA#2351AA

#2351AA is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.6% C 0.152 H 261.9°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#2351AA
RGBrgb(35, 81, 170)
HSLhsl(220, 66%, 40%)
HSVhsv(220, 79%, 67%)
CMYKcmyk(79.4%, 52.4%, 0%, 33.3%)
CIE-LABlab(36.26, 17.59, -52.19)
CIE-LCHlch(36.26, 55.08, 288.62°)
OKLaboklab(45.65% -0.0215 -0.1503)
OKLCHoklch(45.65% 0.152 261.9)
XYZxyz(10.8887, 9.1432, 39.2134)
Luminance0.0914 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2351AA #AA7C23
analogous
#2394AA #2351AA #3923AA
triadic
#2351AA #AA2351 #51AA23
tetradic
#2351AA #AA2394 #AA7C23 #23AA39
square
#2351AA #AA2394 #AA7C23 #23AA39
split-complementary
#2351AA #AA3923 #94AA23
monochromatic
#0E2144 #193977 #2351AA #356CD5 #6891E0

Accessibility & contrast

On white

7.42
#2351AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#2351AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2351AA#FFFFFF#000000##FFFFFF
##2351AA1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#145CAD
Deuteranopia (green-blind)
#004FA8
Tritanopia (blue-blind)
#006775
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2351aa;
/* rgb */ color: rgb(35, 81, 170);
/* oklch */ color: oklch(45.6% 0.152 261.9);
Tailwind
colors: {
  custom: {
    50: '#7481c4',
    500: '#2351aa',
    950: '#000000',
  },
}
SCSS
$custom: #2351aa;
$custom-light: #7481c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2351aa",
  "rgb": {
    "r": 35,
    "g": 81,
    "b": 170
  },
  "hsl": {
    "h": 219.556,
    "s": 65.854,
    "l": 40.196
  },
  "oklch": {
    "l": 0.45649,
    "c": 0.15187,
    "h": 261.9
  },
  "luminance": 0.09144
}

Semantic roles & 50–950 ramp

primary
#2351AA
secondary
#C6A463
accent
#AF3FE9
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#090A13
muted
#7B7C82

Preview Lab

Preview with #2351AA

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

Preview Lab → · Contrast checker → · Palette generator →

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