#2253A6#2253A6

#2253A6 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 45.7% C 0.144 H 260.3°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#2253A6
RGBrgb(34, 83, 166)
HSLhsl(218, 66%, 39%)
HSVhsv(218, 80%, 65%)
CMYKcmyk(79.5%, 50%, 0%, 34.9%)
CIE-LABlab(36.52, 14.57, -49.40)
CIE-LCHlch(36.52, 51.50, 286.43°)
OKLaboklab(45.75% -0.0243 -0.1421)
OKLCHoklch(45.75% 0.144 260.3)
XYZxyz(10.6334, 9.2785, 37.2995)
Luminance0.0928 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2253A6 #A67522
analogous
#2295A6 #2253A6 #3322A6
triadic
#2253A6 #A62253 #53A622
tetradic
#2253A6 #A62295 #A67522 #22A633
square
#2253A6 #A62295 #A67522 #22A633
split-complementary
#2253A6 #A63322 #95A622
monochromatic
#0D2040 #183A73 #2253A6 #306DD5 #6391DF

Accessibility & contrast

On white

7.35
#2253A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#2253A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2253A6#FFFFFF#000000##FFFFFF
##2253A61.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215CA9
Deuteranopia (green-blind)
#0050A4
Tritanopia (blue-blind)
#006774
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2253a6;
/* rgb */ color: rgb(34, 83, 166);
/* oklch */ color: oklch(45.7% 0.144 260.3);
Tailwind
colors: {
  custom: {
    50: '#7282c1',
    500: '#2253a6',
    950: '#000000',
  },
}
SCSS
$custom: #2253a6;
$custom-light: #7282c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2253a6",
  "rgb": {
    "r": 34,
    "g": 83,
    "b": 166
  },
  "hsl": {
    "h": 217.727,
    "s": 66,
    "l": 39.216
  },
  "oklch": {
    "l": 0.45746,
    "c": 0.14414,
    "h": 260.3
  },
  "luminance": 0.0928
}

Semantic roles & 50–950 ramp

primary
#2253A6
secondary
#C49F5F
accent
#AA3FE9
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2253A6

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

Preview Lab → · Contrast checker → · Palette generator →

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