#225BE3#225BE3

#225BE3 is a mid, highly saturated blue. Relative luminance 0.134; OKLCH L 52.3% C 0.215 H 263.5°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#225BE3
RGBrgb(34, 91, 227)
HSLhsl(222, 78%, 51%)
HSVhsv(222, 85%, 89%)
CMYKcmyk(85%, 59.9%, 0%, 11%)
CIE-LABlab(43.31, 32.87, -73.80)
CIE-LCHlch(43.31, 80.79, 294.01°)
OKLaboklab(52.34% -0.0244 -0.2136)
OKLCHoklch(52.34% 0.215 263.5)
XYZxyz(18.2609, 13.3660, 74.2756)
Luminance0.1337 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225BE3 #E3AA22
analogous
#22BBE3 #225BE3 #4922E3
triadic
#225BE3 #E3225B #5BE322
tetradic
#225BE3 #E322BB #E3AA22 #22E349
square
#225BE3 #E322BB #E3AA22 #22E349
split-complementary
#225BE3 #E34922 #BBE322
monochromatic
#102F7B #1644B1 #225BE3 #5883EA #8FACF1

Accessibility & contrast

On white

5.72
#225BE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#225BE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #225BE3
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225BE3#FFFFFF#000000##FFFFFF
##225BE31.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #225be3;
/* rgb */ color: rgb(34, 91, 227);
/* oklch */ color: oklch(52.3% 0.215 263.5);
Tailwind
colors: {
  custom: {
    50: '#8188ed',
    500: '#225be3',
    950: '#000000',
  },
}
SCSS
$custom: #225be3;
$custom-light: #8188ed;
$custom-dark: #000000;
JSON
{
  "hex": "#225be3",
  "rgb": {
    "r": 34,
    "g": 91,
    "b": 227
  },
  "hsl": {
    "h": 222.28,
    "s": 77.51,
    "l": 51.176
  },
  "oklch": {
    "l": 0.52336,
    "c": 0.21503,
    "h": 263.5
  },
  "luminance": 0.13368
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #225BE3

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

Preview Lab → · Contrast checker → · Palette generator →

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