#2250A5#2250A5

#2250A5 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.0% C 0.146 H 261.3°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#2250A5
RGBrgb(34, 80, 165)
HSLhsl(219, 66%, 39%)
HSVhsv(219, 79%, 65%)
CMYKcmyk(79.4%, 51.5%, 0%, 35.3%)
CIE-LABlab(35.58, 16.18, -50.31)
CIE-LCHlch(35.58, 52.84, 287.83°)
OKLaboklab(45.01% -0.022 -0.1448)
OKLCHoklch(45.01% 0.146 261.3)
XYZxyz(10.3174, 8.7928, 36.7434)
Luminance0.0879 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2250A5 #A57722
analogous
#2292A5 #2250A5 #3522A5
triadic
#2250A5 #A52250 #50A522
tetradic
#2250A5 #A52292 #A57722 #22A535
square
#2250A5 #A52292 #A57722 #22A535
split-complementary
#2250A5 #A53522 #92A522
monochromatic
#0D1F40 #183772 #2250A5 #306AD4 #638EDF

Accessibility & contrast

On white

7.61
#2250A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#2250A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2250A5
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2250A5#FFFFFF#000000##FFFFFF
##2250A51.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195AA8
Deuteranopia (green-blind)
#004EA3
Tritanopia (blue-blind)
#006573
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2250a5;
/* rgb */ color: rgb(34, 80, 165);
/* oklch */ color: oklch(45.0% 0.146 261.3);
Tailwind
colors: {
  custom: {
    50: '#7280c0',
    500: '#2250a5',
    950: '#000000',
  },
}
SCSS
$custom: #2250a5;
$custom-light: #7280c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2250a5",
  "rgb": {
    "r": 34,
    "g": 80,
    "b": 165
  },
  "hsl": {
    "h": 218.931,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.4501,
    "c": 0.14649,
    "h": 261.3
  },
  "luminance": 0.08794
}

Semantic roles & 50–950 ramp

primary
#2250A5
secondary
#C4A05F
accent
#AD3FE9
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2250A5

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

Preview Lab → · Contrast checker → · Palette generator →

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