#2258A4#2258A4

#2258A4 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 46.7% C 0.135 H 257.8°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#2258A4
RGBrgb(34, 88, 164)
HSLhsl(215, 66%, 39%)
HSVhsv(215, 79%, 64%)
CMYKcmyk(79.3%, 46.3%, 0%, 35.7%)
CIE-LABlab(37.84, 10.46, -46.07)
CIE-LCHlch(37.84, 47.25, 282.80°)
OKLaboklab(46.72% -0.0287 -0.1322)
OKLCHoklch(46.72% 0.135 257.8)
XYZxyz(10.8478, 9.9986, 36.4730)
Luminance0.1000 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2258A4 #A46E22
analogous
#2299A4 #2258A4 #2D22A4
triadic
#2258A4 #A42258 #58A422
tetradic
#2258A4 #A42299 #A46E22 #22A42D
square
#2258A4 #A42299 #A46E22 #22A42D
split-complementary
#2258A4 #A42D22 #99A422
monochromatic
#0D223F #173D71 #2258A4 #2F74D4 #6296DE

Accessibility & contrast

On white

7.00
#2258A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#2258A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2258A4
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2258A4#FFFFFF#000000##FFFFFF
##2258A41.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305FA7
Deuteranopia (green-blind)
#1054A2
Tritanopia (blue-blind)
#006A76
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2258a4;
/* rgb */ color: rgb(34, 88, 164);
/* oklch */ color: oklch(46.7% 0.135 257.8);
Tailwind
colors: {
  custom: {
    50: '#7286bf',
    500: '#2258a4',
    950: '#000000',
  },
}
SCSS
$custom: #2258a4;
$custom-light: #7286bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2258a4",
  "rgb": {
    "r": 34,
    "g": 88,
    "b": 164
  },
  "hsl": {
    "h": 215.077,
    "s": 65.657,
    "l": 38.824
  },
  "oklch": {
    "l": 0.46722,
    "c": 0.13528,
    "h": 257.8
  },
  "luminance": 0.1
}

Semantic roles & 50–950 ramp

primary
#2258A4
secondary
#C4995E
accent
#A23FE9
background
#F7F8FB
surface
#EDEFF7
border
#C8CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2258A4

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

Preview Lab → · Contrast checker → · Palette generator →

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