#2253A3#2253A3

#2253A3 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.5% C 0.140 H 259.8°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#2253A3
RGBrgb(34, 83, 163)
HSLhsl(217, 65%, 39%)
HSVhsv(217, 79%, 64%)
CMYKcmyk(79.1%, 49.1%, 0%, 36.1%)
CIE-LABlab(36.31, 13.38, -47.94)
CIE-LCHlch(36.31, 49.77, 285.60°)
OKLaboklab(45.52% -0.0247 -0.1378)
OKLCHoklch(45.52% 0.14 259.8)
XYZxyz(10.3614, 9.1697, 35.8671)
Luminance0.0917 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2253A3 #A37222
analogous
#2293A3 #2253A3 #3122A3
triadic
#2253A3 #A32253 #53A322
tetradic
#2253A3 #A32293 #A37222 #22A331
square
#2253A3 #A32293 #A37222 #22A331
split-complementary
#2253A3 #A33122 #93A322
monochromatic
#0D1F3E #173970 #2253A3 #2F6DD4 #6191DE

Accessibility & contrast

On white

7.41
#2253A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#2253A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2253A3
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2253A3#FFFFFF#000000##FFFFFF
##2253A31.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255CA6
Deuteranopia (green-blind)
#0050A1
Tritanopia (blue-blind)
#006673
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2253a3;
/* rgb */ color: rgb(34, 83, 163);
/* oklch */ color: oklch(45.5% 0.140 259.8);
Tailwind
colors: {
  custom: {
    50: '#7182bf',
    500: '#2253a3',
    950: '#000000',
  },
}
SCSS
$custom: #2253a3;
$custom-light: #7182bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2253a3",
  "rgb": {
    "r": 34,
    "g": 83,
    "b": 163
  },
  "hsl": {
    "h": 217.209,
    "s": 65.482,
    "l": 38.627
  },
  "oklch": {
    "l": 0.45522,
    "c": 0.13999,
    "h": 259.8
  },
  "luminance": 0.09171
}

Semantic roles & 50–950 ramp

primary
#2253A3
secondary
#C39D5E
accent
#A83FE8
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2253A3

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

Preview Lab → · Contrast checker → · Palette generator →

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