#225CC1#225CC1

#225CC1 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.8% C 0.170 H 260.7°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#225CC1
RGBrgb(34, 92, 193)
HSLhsl(218, 70%, 45%)
HSVhsv(218, 82%, 76%)
CMYKcmyk(82.4%, 52.3%, 0%, 24.3%)
CIE-LABlab(40.97, 19.20, -58.10)
CIE-LCHlch(40.97, 61.19, 288.29°)
OKLaboklab(49.75% -0.0274 -0.1675)
OKLCHoklch(49.75% 0.17 260.7)
XYZxyz(14.1090, 11.8429, 51.9840)
Luminance0.1184 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225CC1 #C18722
analogous
#22ACC1 #225CC1 #3722C1
triadic
#225CC1 #C1225C #5CC122
tetradic
#225CC1 #C122AC #C18722 #22C137
square
#225CC1 #C122AC #C18722 #22C137
split-complementary
#225CC1 #C13722 #ACC122
monochromatic
#102A59 #19438D #225CC1 #427BDE #769FE7

Accessibility & contrast

On white

6.23
#225CC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#225CC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #225CC1
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225CC1#FFFFFF#000000##FFFFFF
##225CC11.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1268C5
Deuteranopia (green-blind)
#005ABF
Tritanopia (blue-blind)
#007585
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #225cc1;
/* rgb */ color: rgb(34, 92, 193);
/* oklch */ color: oklch(49.8% 0.170 260.7);
Tailwind
colors: {
  custom: {
    50: '#7889d4',
    500: '#225cc1',
    950: '#000000',
  },
}
SCSS
$custom: #225cc1;
$custom-light: #7889d4;
$custom-dark: #000000;
JSON
{
  "hex": "#225cc1",
  "rgb": {
    "r": 34,
    "g": 92,
    "b": 193
  },
  "hsl": {
    "h": 218.113,
    "s": 70.044,
    "l": 44.51
  },
  "oklch": {
    "l": 0.49751,
    "c": 0.16973,
    "h": 260.7
  },
  "luminance": 0.11845
}

Semantic roles & 50–950 ramp

primary
#225CC1
secondary
#CEAC71
accent
#AC3BED
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #225CC1

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

Preview Lab → · Contrast checker → · Palette generator →

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