#2253A5#2253A5

#2253A5 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.7% C 0.143 H 260.2°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#2253A5
RGBrgb(34, 83, 165)
HSLhsl(218, 66%, 39%)
HSVhsv(218, 79%, 65%)
CMYKcmyk(79.4%, 49.7%, 0%, 35.3%)
CIE-LABlab(36.45, 14.17, -48.91)
CIE-LCHlch(36.45, 50.92, 286.16°)
OKLaboklab(45.67% -0.0244 -0.1406)
OKLCHoklch(45.67% 0.143 260.2)
XYZxyz(10.5420, 9.2420, 36.8183)
Luminance0.0924 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2253A5 #A57422
analogous
#2295A5 #2253A5 #3322A5
triadic
#2253A5 #A52253 #53A522
tetradic
#2253A5 #A52295 #A57422 #22A533
square
#2253A5 #A52295 #A57422 #22A533
split-complementary
#2253A5 #A53322 #95A522
monochromatic
#0D2040 #183972 #2253A5 #306DD4 #6391DF

Accessibility & contrast

On white

7.37
#2253A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#2253A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2253A5#FFFFFF#000000##FFFFFF
##2253A51.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235CA8
Deuteranopia (green-blind)
#0050A3
Tritanopia (blue-blind)
#006774
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2253a5;
/* rgb */ color: rgb(34, 83, 165);
/* oklch */ color: oklch(45.7% 0.143 260.2);
Tailwind
colors: {
  custom: {
    50: '#7282c0',
    500: '#2253a5',
    950: '#000000',
  },
}
SCSS
$custom: #2253a5;
$custom-light: #7282c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2253a5",
  "rgb": {
    "r": 34,
    "g": 83,
    "b": 165
  },
  "hsl": {
    "h": 217.557,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.45671,
    "c": 0.14275,
    "h": 260.2
  },
  "luminance": 0.09243
}

Semantic roles & 50–950 ramp

primary
#2253A5
secondary
#C49E5F
accent
#A93FE9
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2253A5

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

Preview Lab → · Contrast checker → · Palette generator →

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