#2253A2#2253A2

#2253A2 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.4% C 0.139 H 259.7°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#2253A2
RGBrgb(34, 83, 162)
HSLhsl(217, 65%, 38%)
HSVhsv(217, 79%, 64%)
CMYKcmyk(79%, 48.8%, 0%, 36.5%)
CIE-LABlab(36.24, 12.99, -47.45)
CIE-LCHlch(36.24, 49.19, 285.31°)
OKLaboklab(45.45% -0.0249 -0.1363)
OKLCHoklch(45.45% 0.139 259.7)
XYZxyz(10.2722, 9.1340, 35.3971)
Luminance0.0914 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2253A2 #A27122
analogous
#2293A2 #2253A2 #3122A2
triadic
#2253A2 #A22253 #53A222
tetradic
#2253A2 #A22293 #A27122 #22A231
square
#2253A2 #A22293 #A27122 #22A231
split-complementary
#2253A2 #A23122 #93A222
monochromatic
#0D1F3D #17396F #2253A2 #2E6DD3 #6191DE

Accessibility & contrast

On white

7.43
#2253A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##2253A2#FFFFFF#000000##FFFFFF
##2253A21.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265BA5
Deuteranopia (green-blind)
#0050A0
Tritanopia (blue-blind)
#006672
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2253a2;
/* rgb */ color: rgb(34, 83, 162);
/* oklch */ color: oklch(45.4% 0.139 259.7);
Tailwind
colors: {
  custom: {
    50: '#7182be',
    500: '#2253a2',
    950: '#000000',
  },
}
SCSS
$custom: #2253a2;
$custom-light: #7182be;
$custom-dark: #000000;
JSON
{
  "hex": "#2253a2",
  "rgb": {
    "r": 34,
    "g": 83,
    "b": 162
  },
  "hsl": {
    "h": 217.031,
    "s": 65.306,
    "l": 38.431
  },
  "oklch": {
    "l": 0.45448,
    "c": 0.1386,
    "h": 259.7
  },
  "luminance": 0.09135
}

Semantic roles & 50–950 ramp

primary
#2253A2
secondary
#C39C5D
accent
#A840E8
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2253A2

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

Preview Lab → · Contrast checker → · Palette generator →

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