#2258A5#2258A5

#2258A5 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 46.8% C 0.137 H 258.0°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#2258A5
RGBrgb(34, 88, 165)
HSLhsl(215, 66%, 39%)
HSVhsv(215, 79%, 65%)
CMYKcmyk(79.4%, 46.7%, 0%, 35.3%)
CIE-LABlab(37.91, 10.86, -46.56)
CIE-LCHlch(37.91, 47.81, 283.13°)
OKLaboklab(46.79% -0.0285 -0.1336)
OKLCHoklch(46.79% 0.137 258)
XYZxyz(10.9384, 10.0349, 36.9504)
Luminance0.1004 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2258A5 #A56F22
analogous
#229AA5 #2258A5 #2E22A5
triadic
#2258A5 #A52258 #58A522
tetradic
#2258A5 #A5229A #A56F22 #22A52E
square
#2258A5 #A5229A #A56F22 #22A52E
split-complementary
#2258A5 #A52E22 #9AA522
monochromatic
#0D2240 #183D72 #2258A5 #3074D4 #6396DF

Accessibility & contrast

On white

6.98
#2258A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#2258A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2258A5
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2258A5#FFFFFF#000000##FFFFFF
##2258A51.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F60A8
Deuteranopia (green-blind)
#0D54A3
Tritanopia (blue-blind)
#006A76
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2258a5;
/* rgb */ color: rgb(34, 88, 165);
/* oklch */ color: oklch(46.8% 0.137 258.0);
Tailwind
colors: {
  custom: {
    50: '#7286c0',
    500: '#2258a5',
    950: '#000000',
  },
}
SCSS
$custom: #2258a5;
$custom-light: #7286c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2258a5",
  "rgb": {
    "r": 34,
    "g": 88,
    "b": 165
  },
  "hsl": {
    "h": 215.267,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.46793,
    "c": 0.13664,
    "h": 258
  },
  "luminance": 0.10036
}

Semantic roles & 50–950 ramp

primary
#2258A5
secondary
#C49A5F
accent
#A33FE9
background
#F7F8FB
surface
#EDEFF7
border
#C8CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2258A5

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

Preview Lab → · Contrast checker → · Palette generator →

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