#2245D3#2245D3

#2245D3 is a mid, highly saturated blue. Relative luminance 0.093; OKLCH L 46.9% C 0.220 H 266.2°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#2245D3
RGBrgb(34, 69, 211)
HSLhsl(228, 72%, 48%)
HSVhsv(228, 84%, 83%)
CMYKcmyk(83.9%, 67.3%, 0%, 17.3%)
CIE-LABlab(36.55, 40.91, -75.74)
CIE-LCHlch(36.55, 86.08, 298.37°)
OKLaboklab(46.91% -0.0144 -0.2195)
OKLCHoklch(46.91% 0.22 266.2)
XYZxyz(14.5416, 9.2977, 62.6436)
Luminance0.0930 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2245D3 #D3B022
analogous
#229DD3 #2245D3 #5822D3
triadic
#2245D3 #D32245 #45D322
tetradic
#2245D3 #D3229D #D3B022 #22D358
square
#2245D3 #D3229D #D3B022 #22D358
split-complementary
#2245D3 #D35822 #9DD322
monochromatic
#11236A #1A349E #2245D3 #4F6DE3 #8499EB

Accessibility & contrast

On white

7.34
#2245D3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#2245D3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2245D3
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2245D3#FFFFFF#000000##FFFFFF
##2245D31.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD7
Deuteranopia (green-blind)
#004ED0
Tritanopia (blue-blind)
#006C86
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2245d3;
/* rgb */ color: rgb(34, 69, 211);
/* oklch */ color: oklch(46.9% 0.220 266.2);
Tailwind
colors: {
  custom: {
    50: '#7f78e2',
    500: '#2245d3',
    950: '#000000',
  },
}
SCSS
$custom: #2245d3;
$custom-light: #7f78e2;
$custom-dark: #000000;
JSON
{
  "hex": "#2245d3",
  "rgb": {
    "r": 34,
    "g": 69,
    "b": 211
  },
  "hsl": {
    "h": 228.136,
    "s": 72.245,
    "l": 48.039
  },
  "oklch": {
    "l": 0.46914,
    "c": 0.21999,
    "h": 266.2
  },
  "luminance": 0.09299
}

Semantic roles & 50–950 ramp

primary
#2245D3
secondary
#D4C37D
accent
#CB39EF
background
#F8F7FE
surface
#F0EDFC
border
#CBC8D5
text
#0C0916
muted
#7D7B84

Preview Lab

Preview with #2245D3

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

Preview Lab → · Contrast checker → · Palette generator →

#2245D3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva