#2250A8#2250A8

#2250A8 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.2% C 0.151 H 261.7°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#2250A8
RGBrgb(34, 80, 168)
HSLhsl(219, 66%, 40%)
HSVhsv(219, 80%, 66%)
CMYKcmyk(79.8%, 52.4%, 0%, 34.1%)
CIE-LABlab(35.80, 17.36, -51.75)
CIE-LCHlch(35.80, 54.58, 288.54°)
OKLaboklab(45.24% -0.0217 -0.1491)
OKLCHoklch(45.24% 0.151 261.7)
XYZxyz(10.5937, 8.9033, 38.1984)
Luminance0.0891 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2250A8 #A87A22
analogous
#2293A8 #2250A8 #3722A8
triadic
#2250A8 #A82250 #50A822
tetradic
#2250A8 #A82293 #A87A22 #22A837
square
#2250A8 #A82293 #A87A22 #22A837
split-complementary
#2250A8 #A83722 #93A822
monochromatic
#0D2042 #183875 #2250A8 #326AD5 #658FE0

Accessibility & contrast

On white

7.55
#2250A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#2250A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2250A8
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2250A8#FFFFFF#000000##FFFFFF
##2250A81.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#135BAB
Deuteranopia (green-blind)
#004EA6
Tritanopia (blue-blind)
#006574
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2250a8;
/* rgb */ color: rgb(34, 80, 168);
/* oklch */ color: oklch(45.2% 0.151 261.7);
Tailwind
colors: {
  custom: {
    50: '#7380c2',
    500: '#2250a8',
    950: '#000000',
  },
}
SCSS
$custom: #2250a8;
$custom-light: #7380c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2250a8",
  "rgb": {
    "r": 34,
    "g": 80,
    "b": 168
  },
  "hsl": {
    "h": 219.403,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.45243,
    "c": 0.15064,
    "h": 261.7
  },
  "luminance": 0.08905
}

Semantic roles & 50–950 ramp

primary
#2250A8
secondary
#C5A361
accent
#AF3FE9
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2250A8

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

Preview Lab → · Contrast checker → · Palette generator →

#2250A8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva