#2253A4#2253A4

#2253A4 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.6% C 0.141 H 260.0°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#2253A4
RGBrgb(34, 83, 164)
HSLhsl(217, 66%, 39%)
HSVhsv(217, 79%, 64%)
CMYKcmyk(79.3%, 49.4%, 0%, 35.7%)
CIE-LABlab(36.38, 13.78, -48.43)
CIE-LCHlch(36.38, 50.35, 285.88°)
OKLaboklab(45.6% -0.0246 -0.1392)
OKLCHoklch(45.6% 0.141 260)
XYZxyz(10.4513, 9.2057, 36.3408)
Luminance0.0921 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2253A4 #A47322
analogous
#2294A4 #2253A4 #3222A4
triadic
#2253A4 #A42253 #53A422
tetradic
#2253A4 #A42294 #A47322 #22A432
square
#2253A4 #A42294 #A47322 #22A432
split-complementary
#2253A4 #A43222 #94A422
monochromatic
#0D203F #173971 #2253A4 #2F6DD4 #6291DE

Accessibility & contrast

On white

7.39
#2253A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#2253A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2253A4
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2253A4#FFFFFF#000000##FFFFFF
##2253A41.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245CA7
Deuteranopia (green-blind)
#0050A2
Tritanopia (blue-blind)
#006673
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2253a4;
/* rgb */ color: rgb(34, 83, 164);
/* oklch */ color: oklch(45.6% 0.141 260.0);
Tailwind
colors: {
  custom: {
    50: '#7282bf',
    500: '#2253a4',
    950: '#000000',
  },
}
SCSS
$custom: #2253a4;
$custom-light: #7282bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2253a4",
  "rgb": {
    "r": 34,
    "g": 83,
    "b": 164
  },
  "hsl": {
    "h": 217.385,
    "s": 65.657,
    "l": 38.824
  },
  "oklch": {
    "l": 0.45596,
    "c": 0.14137,
    "h": 260
  },
  "luminance": 0.09207
}

Semantic roles & 50–950 ramp

primary
#2253A4
secondary
#C49D5E
accent
#A93FE9
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2253A4

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

Preview Lab → · Contrast checker → · Palette generator →

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