#225BAC#225BAC

#225BAC is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.0% C 0.143 H 258.0°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#225BAC
RGBrgb(34, 91, 172)
HSLhsl(215, 67%, 40%)
HSVhsv(215, 80%, 67%)
CMYKcmyk(80.2%, 47.1%, 0%, 32.5%)
CIE-LABlab(39.24, 11.64, -48.57)
CIE-LCHlch(39.24, 49.95, 283.47°)
OKLaboklab(47.97% -0.0297 -0.1395)
OKLCHoklch(47.97% 0.143 258)
XYZxyz(11.8444, 10.7994, 40.4820)
Luminance0.1080 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225BAC #AC7322
analogous
#22A0AC #225BAC #2E22AC
triadic
#225BAC #AC225B #5BAC22
tetradic
#225BAC #AC22A0 #AC7322 #22AC2E
square
#225BAC #AC22A0 #AC7322 #22AC2E
split-complementary
#225BAC #AC2E22 #A0AC22
monochromatic
#0E2546 #184079 #225BAC #3477D7 #679AE1

Accessibility & contrast

On white

6.65
#225BAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#225BAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #225BAC
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225BAC#FFFFFF#000000##FFFFFF
##225BAC1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F63AF
Deuteranopia (green-blind)
#0657AA
Tritanopia (blue-blind)
#006E7B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #225bac;
/* rgb */ color: rgb(34, 91, 172);
/* oklch */ color: oklch(48.0% 0.143 258.0);
Tailwind
colors: {
  custom: {
    50: '#7388c5',
    500: '#225bac',
    950: '#000000',
  },
}
SCSS
$custom: #225bac;
$custom-light: #7388c5;
$custom-dark: #000000;
JSON
{
  "hex": "#225bac",
  "rgb": {
    "r": 34,
    "g": 91,
    "b": 172
  },
  "hsl": {
    "h": 215.217,
    "s": 66.99,
    "l": 40.392
  },
  "oklch": {
    "l": 0.4797,
    "c": 0.14262,
    "h": 258
  },
  "luminance": 0.10801
}

Semantic roles & 50–950 ramp

primary
#225BAC
secondary
#C79E63
accent
#A33EEA
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#090B13
muted
#7B7C82

Preview Lab

Preview with #225BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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