#2258A6#2258A6

#2258A6 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 46.9% C 0.138 H 258.2°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#2258A6
RGBrgb(34, 88, 166)
HSLhsl(215, 66%, 39%)
HSVhsv(215, 80%, 65%)
CMYKcmyk(79.5%, 47%, 0%, 34.9%)
CIE-LABlab(37.97, 11.25, -47.05)
CIE-LCHlch(37.97, 48.38, 283.45°)
OKLaboklab(46.86% -0.0283 -0.1351)
OKLCHoklch(46.86% 0.138 258.2)
XYZxyz(11.0298, 10.0714, 37.4317)
Luminance0.1007 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2258A6 #A67022
analogous
#229AA6 #2258A6 #2E22A6
triadic
#2258A6 #A62258 #58A622
tetradic
#2258A6 #A6229A #A67022 #22A62E
square
#2258A6 #A6229A #A67022 #22A62E
split-complementary
#2258A6 #A62E22 #9AA622
monochromatic
#0D2240 #183D73 #2258A6 #3074D5 #6396DF

Accessibility & contrast

On white

6.97
#2258A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2258A6
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2258A6#FFFFFF#000000##FFFFFF
##2258A61.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E60A9
Deuteranopia (green-blind)
#0A54A4
Tritanopia (blue-blind)
#006B77
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2258a6;
/* rgb */ color: rgb(34, 88, 166);
/* oklch */ color: oklch(46.9% 0.138 258.2);
Tailwind
colors: {
  custom: {
    50: '#7286c1',
    500: '#2258a6',
    950: '#000000',
  },
}
SCSS
$custom: #2258a6;
$custom-light: #7286c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2258a6",
  "rgb": {
    "r": 34,
    "g": 88,
    "b": 166
  },
  "hsl": {
    "h": 215.455,
    "s": 66,
    "l": 39.216
  },
  "oklch": {
    "l": 0.46864,
    "c": 0.13801,
    "h": 258.2
  },
  "luminance": 0.10073
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2258A6

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

Preview Lab → · Contrast checker → · Palette generator →

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