#225AE3#225AE3

#225AE3 is a mid, highly saturated blue. Relative luminance 0.132; OKLCH L 52.1% C 0.216 H 263.6°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#225AE3
RGBrgb(34, 90, 227)
HSLhsl(223, 78%, 51%)
HSVhsv(223, 85%, 89%)
CMYKcmyk(85%, 60.4%, 0%, 11%)
CIE-LABlab(43.06, 33.51, -74.21)
CIE-LCHlch(43.06, 81.43, 294.30°)
OKLaboklab(52.15% -0.0239 -0.2149)
OKLCHoklch(52.15% 0.216 263.6)
XYZxyz(18.1760, 13.1962, 74.2473)
Luminance0.1320 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225AE3 #E3AB22
analogous
#22BAE3 #225AE3 #4A22E3
triadic
#225AE3 #E3225A #5AE322
tetradic
#225AE3 #E322BA #E3AB22 #22E34A
square
#225AE3 #E322BA #E3AB22 #22E34A
split-complementary
#225AE3 #E34A22 #BAE322
monochromatic
#102F7B #1643B1 #225AE3 #5883EA #8FABF1

Accessibility & contrast

On white

5.77
#225AE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#225AE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #225AE3
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225AE3#FFFFFF#000000##FFFFFF
##225AE31.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE8
Deuteranopia (green-blind)
#005DE0
Tritanopia (blue-blind)
#007E96
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #225ae3;
/* rgb */ color: rgb(34, 90, 227);
/* oklch */ color: oklch(52.1% 0.216 263.6);
Tailwind
colors: {
  custom: {
    50: '#8188ed',
    500: '#225ae3',
    950: '#000000',
  },
}
SCSS
$custom: #225ae3;
$custom-light: #8188ed;
$custom-dark: #000000;
JSON
{
  "hex": "#225ae3",
  "rgb": {
    "r": 34,
    "g": 90,
    "b": 227
  },
  "hsl": {
    "h": 222.591,
    "s": 77.51,
    "l": 51.176
  },
  "oklch": {
    "l": 0.52148,
    "c": 0.21619,
    "h": 263.6
  },
  "luminance": 0.13198
}

Semantic roles & 50–950 ramp

primary
#225AE3
secondary
#DBC286
accent
#BC34F4
background
#F8F8FE
surface
#F0EFFD
border
#CBCAD5
text
#0D0B16
muted
#7D7C84

Preview Lab

Preview with #225AE3

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

Preview Lab → · Contrast checker → · Palette generator →

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