#225EC1#225EC1

#225EC1 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.2% C 0.167 H 260.1°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#225EC1
RGBrgb(34, 94, 193)
HSLhsl(217, 70%, 45%)
HSVhsv(217, 82%, 76%)
CMYKcmyk(82.4%, 51.3%, 0%, 24.3%)
CIE-LABlab(41.52, 17.89, -57.20)
CIE-LCHlch(41.52, 59.93, 287.37°)
OKLaboklab(50.18% -0.0288 -0.1648)
OKLCHoklch(50.18% 0.167 260.1)
XYZxyz(14.2845, 12.1940, 52.0425)
Luminance0.1220 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225EC1 #C18522
analogous
#22AEC1 #225EC1 #3522C1
triadic
#225EC1 #C1225E #5EC122
tetradic
#225EC1 #C122AE #C18522 #22C135
square
#225EC1 #C122AE #C18522 #22C135
split-complementary
#225EC1 #C13522 #AEC122
monochromatic
#102B59 #19458D #225EC1 #427DDE #76A1E7

Accessibility & contrast

On white

6.11
#225EC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#225EC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #225EC1
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225EC1#FFFFFF#000000##FFFFFF
##225EC11.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B6AC5
Deuteranopia (green-blind)
#005BBF
Tritanopia (blue-blind)
#007686
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #225ec1;
/* rgb */ color: rgb(34, 94, 193);
/* oklch */ color: oklch(50.2% 0.167 260.1);
Tailwind
colors: {
  custom: {
    50: '#788ad4',
    500: '#225ec1',
    950: '#000000',
  },
}
SCSS
$custom: #225ec1;
$custom-light: #788ad4;
$custom-dark: #000000;
JSON
{
  "hex": "#225ec1",
  "rgb": {
    "r": 34,
    "g": 94,
    "b": 193
  },
  "hsl": {
    "h": 217.358,
    "s": 70.044,
    "l": 44.51
  },
  "oklch": {
    "l": 0.50177,
    "c": 0.16731,
    "h": 260.1
  },
  "luminance": 0.12196
}

Semantic roles & 50–950 ramp

primary
#225EC1
secondary
#CEAB71
accent
#AA3BED
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #225EC1

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

Preview Lab → · Contrast checker → · Palette generator →

#225EC1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva