#2258AD#2258AD

#2258AD is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.4% C 0.148 H 259.4°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#2258AD
RGBrgb(34, 88, 173)
HSLhsl(217, 67%, 41%)
HSVhsv(217, 80%, 68%)
CMYKcmyk(80.3%, 49.1%, 0%, 32.2%)
CIE-LABlab(38.44, 14.01, -50.45)
CIE-LCHlch(38.44, 52.36, 285.51°)
OKLaboklab(47.37% -0.0272 -0.1451)
OKLCHoklch(47.37% 0.148 259.4)
XYZxyz(11.6895, 10.3353, 40.9059)
Luminance0.1034 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2258AD #AD7722
analogous
#229DAD #2258AD #3222AD
triadic
#2258AD #AD2258 #58AD22
tetradic
#2258AD #AD229D #AD7722 #22AD32
square
#2258AD #AD229D #AD7722 #22AD32
split-complementary
#2258AD #AD3222 #9DAD22
monochromatic
#0E2447 #183E7A #2258AD #3574D7 #6897E1

Accessibility & contrast

On white

6.85
#2258AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#2258AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2258AD
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2258AD#FFFFFF#000000##FFFFFF
##2258AD1.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2661B0
Deuteranopia (green-blind)
#0055AB
Tritanopia (blue-blind)
#006C7A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2258ad;
/* rgb */ color: rgb(34, 88, 173);
/* oklch */ color: oklch(47.4% 0.148 259.4);
Tailwind
colors: {
  custom: {
    50: '#7486c6',
    500: '#2258ad',
    950: '#000000',
  },
}
SCSS
$custom: #2258ad;
$custom-light: #7486c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2258ad",
  "rgb": {
    "r": 34,
    "g": 88,
    "b": 173
  },
  "hsl": {
    "h": 216.691,
    "s": 67.15,
    "l": 40.588
  },
  "oklch": {
    "l": 0.47374,
    "c": 0.14761,
    "h": 259.4
  },
  "luminance": 0.10337
}

Semantic roles & 50–950 ramp

primary
#2258AD
secondary
#C7A064
accent
#A73EEA
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#090B13
muted
#7B7C82

Preview Lab

Preview with #2258AD

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

Preview Lab → · Contrast checker → · Palette generator →

#2258AD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva