#2253AB#2253AB

#2253AB is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.1% C 0.151 H 261.0°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#2253AB
RGBrgb(34, 83, 171)
HSLhsl(219, 67%, 40%)
HSVhsv(219, 80%, 67%)
CMYKcmyk(80.1%, 51.5%, 0%, 32.9%)
CIE-LABlab(36.87, 16.54, -51.81)
CIE-LCHlch(36.87, 54.38, 287.70°)
OKLaboklab(46.13% -0.0236 -0.1492)
OKLCHoklch(46.13% 0.151 261)
XYZxyz(11.1010, 9.4656, 39.7621)
Luminance0.0947 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2253AB #AB7A22
analogous
#2297AB #2253AB #3522AB
triadic
#2253AB #AB2253 #53AB22
tetradic
#2253AB #AB2297 #AB7A22 #22AB35
square
#2253AB #AB2297 #AB7A22 #22AB35
split-complementary
#2253AB #AB3522 #97AB22
monochromatic
#0E2145 #183A78 #2253AB #346ED7 #6792E1

Accessibility & contrast

On white

7.26
#2253AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#2253AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2253AB
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2253AB#FFFFFF#000000##FFFFFF
##2253AB1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A5DAE
Deuteranopia (green-blind)
#0051A9
Tritanopia (blue-blind)
#006877
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2253ab;
/* rgb */ color: rgb(34, 83, 171);
/* oklch */ color: oklch(46.1% 0.151 261.0);
Tailwind
colors: {
  custom: {
    50: '#7382c5',
    500: '#2253ab',
    950: '#000000',
  },
}
SCSS
$custom: #2253ab;
$custom-light: #7382c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2253ab",
  "rgb": {
    "r": 34,
    "g": 83,
    "b": 171
  },
  "hsl": {
    "h": 218.54,
    "s": 66.829,
    "l": 40.196
  },
  "oklch": {
    "l": 0.46126,
    "c": 0.15103,
    "h": 261
  },
  "luminance": 0.09467
}

Semantic roles & 50–950 ramp

primary
#2253AB
secondary
#C6A363
accent
#AC3EEA
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#090A13
muted
#7B7C82

Preview Lab

Preview with #2253AB

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

Preview Lab → · Contrast checker → · Palette generator →

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