#2251A0#2251A0

#2251A0 is a dark, vivid blue. Relative luminance 0.088; OKLCH L 44.9% C 0.138 H 260.2°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#2251A0
RGBrgb(34, 81, 160)
HSLhsl(218, 65%, 38%)
HSVhsv(218, 79%, 63%)
CMYKcmyk(78.8%, 49.4%, 0%, 37.3%)
CIE-LABlab(35.52, 13.53, -47.41)
CIE-LCHlch(35.52, 49.30, 285.93°)
OKLaboklab(44.85% -0.0236 -0.1363)
OKLCHoklch(44.85% 0.138 260.2)
XYZxyz(9.9450, 8.7619, 34.4180)
Luminance0.0876 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2251A0 #A07122
analogous
#2290A0 #2251A0 #3222A0
triadic
#2251A0 #A02251 #51A022
tetradic
#2251A0 #A02290 #A07122 #22A032
square
#2251A0 #A02290 #A07122 #22A032
split-complementary
#2251A0 #A03222 #90A022
monochromatic
#0D1E3B #17376E #2251A0 #2D6BD2 #5F8EDD

Accessibility & contrast

On white

7.63
#2251A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#2251A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2251A0
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2251A0#FFFFFF#000000##FFFFFF
##2251A01.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235AA3
Deuteranopia (green-blind)
#004E9E
Tritanopia (blue-blind)
#006471
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2251a0;
/* rgb */ color: rgb(34, 81, 160);
/* oklch */ color: oklch(44.9% 0.138 260.2);
Tailwind
colors: {
  custom: {
    50: '#7181bd',
    500: '#2251a0',
    950: '#000000',
  },
}
SCSS
$custom: #2251a0;
$custom-light: #7181bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2251a0",
  "rgb": {
    "r": 34,
    "g": 81,
    "b": 160
  },
  "hsl": {
    "h": 217.619,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.44852,
    "c": 0.13829,
    "h": 260.2
  },
  "luminance": 0.08763
}

Semantic roles & 50–950 ramp

primary
#2251A0
secondary
#C29C5C
accent
#A940E8
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2251A0

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

Preview Lab → · Contrast checker → · Palette generator →

#2251A0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva