#225BB3#225BB3

#225BB3 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.5% C 0.152 H 259.2°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#225BB3
RGBrgb(34, 91, 179)
HSLhsl(216, 68%, 42%)
HSVhsv(216, 81%, 70%)
CMYKcmyk(81%, 49.2%, 0%, 29.8%)
CIE-LABlab(39.71, 14.39, -51.95)
CIE-LCHlch(39.71, 53.90, 285.48°)
OKLaboklab(48.48% -0.0286 -0.1494)
OKLCHoklch(48.48% 0.152 259.2)
XYZxyz(12.5345, 11.0754, 44.1162)
Luminance0.1108 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225BB3 #B37A22
analogous
#22A4B3 #225BB3 #3222B3
triadic
#225BB3 #B3225B #5BB322
tetradic
#225BB3 #B322A4 #B37A22 #22B332
square
#225BB3 #B322A4 #B37A22 #22B332
split-complementary
#225BB3 #B33222 #A4B322
monochromatic
#0E274C #184180 #225BB3 #3978D9 #6C9BE3

Accessibility & contrast

On white

6.53
#225BB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#225BB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #225BB3
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225BB3#FFFFFF#000000##FFFFFF
##225BB31.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2765B6
Deuteranopia (green-blind)
#0057B1
Tritanopia (blue-blind)
#00707E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #225bb3;
/* rgb */ color: rgb(34, 91, 179);
/* oklch */ color: oklch(48.5% 0.152 259.2);
Tailwind
colors: {
  custom: {
    50: '#7588ca',
    500: '#225bb3',
    950: '#000000',
  },
}
SCSS
$custom: #225bb3;
$custom-light: #7588ca;
$custom-dark: #000000;
JSON
{
  "hex": "#225bb3",
  "rgb": {
    "r": 34,
    "g": 91,
    "b": 179
  },
  "hsl": {
    "h": 216.414,
    "s": 68.075,
    "l": 41.765
  },
  "oklch": {
    "l": 0.48478,
    "c": 0.15212,
    "h": 259.2
  },
  "luminance": 0.11077
}

Semantic roles & 50–950 ramp

primary
#225BB3
secondary
#C9A368
accent
#A73DEB
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #225BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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