#225DBB#225DBB

#225DBB is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.5% C 0.160 H 259.6°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#225DBB
RGBrgb(34, 93, 187)
HSLhsl(217, 69%, 43%)
HSVhsv(217, 82%, 73%)
CMYKcmyk(81.8%, 50.3%, 0%, 26.7%)
CIE-LABlab(40.82, 16.21, -54.83)
CIE-LCHlch(40.82, 57.18, 286.46°)
OKLaboklab(49.51% -0.0289 -0.1579)
OKLCHoklch(49.51% 0.16 259.6)
XYZxyz(13.5404, 11.7550, 48.5594)
Luminance0.1176 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225DBB #BB8022
analogous
#22A9BB #225DBB #3422BB
triadic
#225DBB #BB225D #5DBB22
tetradic
#225DBB #BB22A9 #BB8022 #22BB34
square
#225DBB #BB22A9 #BB8022 #22BB34
split-complementary
#225DBB #BB3422 #A9BB22
monochromatic
#0F2953 #194387 #225DBB #3E7BDC #729FE5

Accessibility & contrast

On white

6.27
#225DBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#225DBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #225DBB
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225DBB#FFFFFF#000000##FFFFFF
##225DBB1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2268BE
Deuteranopia (green-blind)
#005AB9
Tritanopia (blue-blind)
#007483
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #225dbb;
/* rgb */ color: rgb(34, 93, 187);
/* oklch */ color: oklch(49.5% 0.160 259.6);
Tailwind
colors: {
  custom: {
    50: '#778ad0',
    500: '#225dbb',
    950: '#000000',
  },
}
SCSS
$custom: #225dbb;
$custom-light: #778ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#225dbb",
  "rgb": {
    "r": 34,
    "g": 93,
    "b": 187
  },
  "hsl": {
    "h": 216.863,
    "s": 69.231,
    "l": 43.333
  },
  "oklch": {
    "l": 0.49509,
    "c": 0.16049,
    "h": 259.6
  },
  "luminance": 0.11757
}

Semantic roles & 50–950 ramp

primary
#225DBB
secondary
#CCA76D
accent
#A83CEC
background
#F7F8FC
surface
#EEF0F9
border
#C9CBD2
text
#0A0B14
muted
#7C7C82

Preview Lab

Preview with #225DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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