#2351A2#2351A2

#2351A2 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.0% C 0.141 H 260.8°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#2351A2
RGBrgb(35, 81, 162)
HSLhsl(218, 64%, 39%)
HSVhsv(218, 78%, 64%)
CMYKcmyk(78.4%, 50%, 0%, 36.5%)
CIE-LABlab(35.69, 14.44, -48.33)
CIE-LCHlch(35.69, 50.44, 286.63°)
OKLaboklab(45.04% -0.0226 -0.139)
OKLCHoklch(45.04% 0.141 260.8)
XYZxyz(10.1548, 8.8496, 35.3484)
Luminance0.0885 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2351A2 #A27423
analogous
#2390A2 #2351A2 #3423A2
triadic
#2351A2 #A22351 #51A223
tetradic
#2351A2 #A22390 #A27423 #23A234
square
#2351A2 #A22390 #A27423 #23A234
split-complementary
#2351A2 #A23423 #90A223
monochromatic
#0D1F3D #183870 #2351A2 #306BD2 #628FDD

Accessibility & contrast

On white

7.58
#2351A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#2351A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2351A2#FFFFFF#000000##FFFFFF
##2351A21.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215AA5
Deuteranopia (green-blind)
#004EA0
Tritanopia (blue-blind)
#006472
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2351a2;
/* rgb */ color: rgb(35, 81, 162);
/* oklch */ color: oklch(45.0% 0.141 260.8);
Tailwind
colors: {
  custom: {
    50: '#7281be',
    500: '#2351a2',
    950: '#000000',
  },
}
SCSS
$custom: #2351a2;
$custom-light: #7281be;
$custom-dark: #000000;
JSON
{
  "hex": "#2351a2",
  "rgb": {
    "r": 35,
    "g": 81,
    "b": 162
  },
  "hsl": {
    "h": 218.268,
    "s": 64.467,
    "l": 38.627
  },
  "oklch": {
    "l": 0.45037,
    "c": 0.14079,
    "h": 260.8
  },
  "luminance": 0.08851
}

Semantic roles & 50–950 ramp

primary
#2351A2
secondary
#C29E5E
accent
#AB40E7
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2351A2

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

Preview Lab → · Contrast checker → · Palette generator →

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