#2253AF#2253AF

#2253AF is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.4% C 0.157 H 261.5°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#2253AF
RGBrgb(34, 83, 175)
HSLhsl(219, 67%, 41%)
HSVhsv(219, 81%, 69%)
CMYKcmyk(80.6%, 52.6%, 0%, 31.4%)
CIE-LABlab(37.15, 18.11, -53.72)
CIE-LCHlch(37.15, 56.69, 288.63°)
OKLaboklab(46.43% -0.0231 -0.1548)
OKLCHoklch(46.43% 0.157 261.5)
XYZxyz(11.4880, 9.6204, 41.8006)
Luminance0.0962 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2253AF #AF7E22
analogous
#2299AF #2253AF #3722AF
triadic
#2253AF #AF2253 #53AF22
tetradic
#2253AF #AF2299 #AF7E22 #22AF37
square
#2253AF #AF2299 #AF7E22 #22AF37
split-complementary
#2253AF #AF3722 #99AF22
monochromatic
#0E2249 #183B7C #2253AF #366ED8 #6993E2

Accessibility & contrast

On white

7.18
#2253AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#2253AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2253AF#FFFFFF#000000##FFFFFF
##2253AF1.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#115EB2
Deuteranopia (green-blind)
#0051AD
Tritanopia (blue-blind)
#006979
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2253af;
/* rgb */ color: rgb(34, 83, 175);
/* oklch */ color: oklch(46.4% 0.157 261.5);
Tailwind
colors: {
  custom: {
    50: '#7482c8',
    500: '#2253af',
    950: '#000000',
  },
}
SCSS
$custom: #2253af;
$custom-light: #7482c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2253af",
  "rgb": {
    "r": 34,
    "g": 83,
    "b": 175
  },
  "hsl": {
    "h": 219.149,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.46435,
    "c": 0.1565,
    "h": 261.5
  },
  "luminance": 0.09622
}

Semantic roles & 50–950 ramp

primary
#2253AF
secondary
#C8A565
accent
#AE3DEA
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2253AF

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

Preview Lab → · Contrast checker → · Palette generator →

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