#2253AA#2253AA

#2253AA is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.0% C 0.150 H 260.9°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#2253AA
RGBrgb(34, 83, 170)
HSLhsl(218, 67%, 40%)
HSVhsv(218, 80%, 67%)
CMYKcmyk(80%, 51.2%, 0%, 33.3%)
CIE-LABlab(36.79, 16.14, -51.33)
CIE-LCHlch(36.79, 53.81, 287.46°)
OKLaboklab(46.05% -0.0237 -0.1478)
OKLCHoklch(46.05% 0.15 260.9)
XYZxyz(11.0060, 9.4276, 39.2621)
Luminance0.0943 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2253AA #AA7922
analogous
#2297AA #2253AA #3522AA
triadic
#2253AA #AA2253 #53AA22
tetradic
#2253AA #AA2297 #AA7922 #22AA35
square
#2253AA #AA2297 #AA7922 #22AA35
split-complementary
#2253AA #AA3522 #97AA22
monochromatic
#0E2144 #183A77 #2253AA #336ED6 #6692E0

Accessibility & contrast

On white

7.28
#2253AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##2253AA#FFFFFF#000000##FFFFFF
##2253AA1.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5DAD
Deuteranopia (green-blind)
#0051A8
Tritanopia (blue-blind)
#006876
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2253aa;
/* rgb */ color: rgb(34, 83, 170);
/* oklch */ color: oklch(46.0% 0.150 260.9);
Tailwind
colors: {
  custom: {
    50: '#7382c4',
    500: '#2253aa',
    950: '#000000',
  },
}
SCSS
$custom: #2253aa;
$custom-light: #7382c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2253aa",
  "rgb": {
    "r": 34,
    "g": 83,
    "b": 170
  },
  "hsl": {
    "h": 218.382,
    "s": 66.667,
    "l": 40
  },
  "oklch": {
    "l": 0.46049,
    "c": 0.14965,
    "h": 260.9
  },
  "luminance": 0.09429
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2253AA

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

Preview Lab → · Contrast checker → · Palette generator →

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