#2258BD#2258BD

#2258BD is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.6% C 0.169 H 261.5°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#2258BD
RGBrgb(34, 88, 189)
HSLhsl(219, 70%, 44%)
HSVhsv(219, 82%, 74%)
CMYKcmyk(82%, 53.4%, 0%, 25.9%)
CIE-LABlab(39.57, 20.27, -58.03)
CIE-LCHlch(39.57, 61.47, 289.26°)
OKLaboklab(48.6% -0.0251 -0.1674)
OKLCHoklch(48.6% 0.169 261.5)
XYZxyz(13.3314, 10.9920, 49.5533)
Luminance0.1099 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2258BD #BD8722
analogous
#22A5BD #2258BD #3922BD
triadic
#2258BD #BD2258 #58BD22
tetradic
#2258BD #BD22A5 #BD8722 #22BD39
square
#2258BD #BD22A5 #BD8722 #22BD39
split-complementary
#2258BD #BD3922 #A5BD22
monochromatic
#0F2855 #194089 #2258BD #4076DD #739BE6

Accessibility & contrast

On white

6.56
#2258BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#2258BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2258BD
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2258BD#FFFFFF#000000##FFFFFF
##2258BD1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0365C1
Deuteranopia (green-blind)
#0057BB
Tritanopia (blue-blind)
#007182
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2258bd;
/* rgb */ color: rgb(34, 88, 189);
/* oklch */ color: oklch(48.6% 0.169 261.5);
Tailwind
colors: {
  custom: {
    50: '#7886d2',
    500: '#2258bd',
    950: '#000000',
  },
}
SCSS
$custom: #2258bd;
$custom-light: #7886d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2258bd",
  "rgb": {
    "r": 34,
    "g": 88,
    "b": 189
  },
  "hsl": {
    "h": 219.097,
    "s": 69.507,
    "l": 43.725
  },
  "oklch": {
    "l": 0.48595,
    "c": 0.16926,
    "h": 261.5
  },
  "luminance": 0.10994
}

Semantic roles & 50–950 ramp

primary
#2258BD
secondary
#CDAC6E
accent
#AF3BEC
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0A0B14
muted
#7C7C83

Preview Lab

Preview with #2258BD

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

Preview Lab → · Contrast checker → · Palette generator →

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