#2258A7#2258A7

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

Color values

HEX#2258A7
RGBrgb(34, 88, 167)
HSLhsl(216, 66%, 39%)
HSVhsv(216, 80%, 65%)
CMYKcmyk(79.6%, 47.3%, 0%, 34.5%)
CIE-LABlab(38.04, 11.65, -47.54)
CIE-LCHlch(38.04, 48.95, 283.76°)
OKLaboklab(46.94% -0.0281 -0.1365)
OKLCHoklch(46.94% 0.139 258.4)
XYZxyz(11.1219, 10.1082, 37.9166)
Luminance0.1011 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2258A7 #A77122
analogous
#229BA7 #2258A7 #2F22A7
triadic
#2258A7 #A72258 #58A722
tetradic
#2258A7 #A7229B #A77122 #22A72F
square
#2258A7 #A7229B #A77122 #22A72F
split-complementary
#2258A7 #A72F22 #9BA722
monochromatic
#0D2241 #183D74 #2258A7 #3174D5 #6496DF

Accessibility & contrast

On white

6.95
#2258A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#2258A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2258A7
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2258A7#FFFFFF#000000##FFFFFF
##2258A71.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D60AA
Deuteranopia (green-blind)
#0654A5
Tritanopia (blue-blind)
#006B77
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2258a7;
/* rgb */ color: rgb(34, 88, 167);
/* oklch */ color: oklch(46.9% 0.139 258.4);
Tailwind
colors: {
  custom: {
    50: '#7286c2',
    500: '#2258a7',
    950: '#000000',
  },
}
SCSS
$custom: #2258a7;
$custom-light: #7286c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2258a7",
  "rgb": {
    "r": 34,
    "g": 88,
    "b": 167
  },
  "hsl": {
    "h": 215.639,
    "s": 66.169,
    "l": 39.412
  },
  "oklch": {
    "l": 0.46936,
    "c": 0.13939,
    "h": 258.4
  },
  "luminance": 0.1011
}

Semantic roles & 50–950 ramp

primary
#2258A7
secondary
#C59C60
accent
#A43FE9
background
#F7F8FC
surface
#EDEFF8
border
#C8CAD1
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2258A7

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

Preview Lab → · Contrast checker → · Palette generator →

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