#2253A8#2253A8

#2253A8 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 45.9% C 0.147 H 260.6°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#2253A8
RGBrgb(34, 83, 168)
HSLhsl(218, 66%, 40%)
HSVhsv(218, 80%, 66%)
CMYKcmyk(79.8%, 50.6%, 0%, 34.1%)
CIE-LABlab(36.65, 15.35, -50.36)
CIE-LCHlch(36.65, 52.65, 286.96°)
OKLaboklab(45.9% -0.024 -0.1449)
OKLCHoklch(45.9% 0.147 260.6)
XYZxyz(10.8183, 9.3525, 38.2732)
Luminance0.0935 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2253A8 #A87722
analogous
#2296A8 #2253A8 #3422A8
triadic
#2253A8 #A82253 #53A822
tetradic
#2253A8 #A82296 #A87722 #22A834
square
#2253A8 #A82296 #A87722 #22A834
split-complementary
#2253A8 #A83422 #96A822
monochromatic
#0D2142 #183A75 #2253A8 #326ED5 #6592E0

Accessibility & contrast

On white

7.32
#2253A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#2253A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2253A8
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2253A8#FFFFFF#000000##FFFFFF
##2253A81.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5DAB
Deuteranopia (green-blind)
#0050A6
Tritanopia (blue-blind)
#006875
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2253a8;
/* rgb */ color: rgb(34, 83, 168);
/* oklch */ color: oklch(45.9% 0.147 260.6);
Tailwind
colors: {
  custom: {
    50: '#7382c2',
    500: '#2253a8',
    950: '#000000',
  },
}
SCSS
$custom: #2253a8;
$custom-light: #7382c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2253a8",
  "rgb": {
    "r": 34,
    "g": 83,
    "b": 168
  },
  "hsl": {
    "h": 218.06,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.45897,
    "c": 0.1469,
    "h": 260.6
  },
  "luminance": 0.09354
}

Semantic roles & 50–950 ramp

primary
#2253A8
secondary
#C5A061
accent
#AB3FE9
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2253A8

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

Preview Lab → · Contrast checker → · Palette generator →

#2253A8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva