#225EB3#225EB3

#225EB3 is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.1% C 0.149 H 258.0°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#225EB3
RGBrgb(34, 94, 179)
HSLhsl(215, 68%, 42%)
HSVhsv(215, 81%, 70%)
CMYKcmyk(81%, 47.5%, 0%, 29.8%)
CIE-LABlab(40.57, 12.42, -50.55)
CIE-LCHlch(40.57, 52.06, 283.80°)
OKLaboklab(49.14% -0.0309 -0.1453)
OKLCHoklch(49.14% 0.149 258)
XYZxyz(12.7961, 11.5986, 44.2034)
Luminance0.1160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225EB3 #B37722
analogous
#22A7B3 #225EB3 #2E22B3
triadic
#225EB3 #B3225E #5EB322
tetradic
#225EB3 #B322A7 #B37722 #22B32E
square
#225EB3 #B322A7 #B37722 #22B32E
split-complementary
#225EB3 #B32E22 #A7B322
monochromatic
#0E284C #184380 #225EB3 #397BD9 #6C9DE3

Accessibility & contrast

On white

6.33
#225EB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#225EB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #225EB3
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225EB3#FFFFFF#000000##FFFFFF
##225EB31.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F67B6
Deuteranopia (green-blind)
#005AB1
Tritanopia (blue-blind)
#007280
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #225eb3;
/* rgb */ color: rgb(34, 94, 179);
/* oklch */ color: oklch(49.1% 0.149 258.0);
Tailwind
colors: {
  custom: {
    50: '#758bca',
    500: '#225eb3',
    950: '#000000',
  },
}
SCSS
$custom: #225eb3;
$custom-light: #758bca;
$custom-dark: #000000;
JSON
{
  "hex": "#225eb3",
  "rgb": {
    "r": 34,
    "g": 94,
    "b": 179
  },
  "hsl": {
    "h": 215.172,
    "s": 68.075,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49143,
    "c": 0.14851,
    "h": 258
  },
  "luminance": 0.116
}

Semantic roles & 50–950 ramp

primary
#225EB3
secondary
#C9A168
accent
#A33DEB
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #225EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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