#2258A9#2258A9

#2258A9 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.1% C 0.142 H 258.7°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#2258A9
RGBrgb(34, 88, 169)
HSLhsl(216, 67%, 40%)
HSVhsv(216, 80%, 66%)
CMYKcmyk(79.9%, 47.9%, 0%, 33.7%)
CIE-LABlab(38.17, 12.43, -48.52)
CIE-LCHlch(38.17, 50.09, 284.37°)
OKLaboklab(47.08% -0.0278 -0.1394)
OKLCHoklch(47.08% 0.142 258.7)
XYZxyz(11.3082, 10.1828, 38.8979)
Luminance0.1018 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2258A9 #A97322
analogous
#229BA9 #2258A9 #3022A9
triadic
#2258A9 #A92258 #58A922
tetradic
#2258A9 #A9229B #A97322 #22A930
square
#2258A9 #A9229B #A97322 #22A930
split-complementary
#2258A9 #A93022 #9BA922
monochromatic
#0D2343 #183D76 #2258A9 #3274D6 #6596E0

Accessibility & contrast

On white

6.92
#2258A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#2258A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2258A9
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2258A9#FFFFFF#000000##FFFFFF
##2258A91.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B60AC
Deuteranopia (green-blind)
#0054A7
Tritanopia (blue-blind)
#006B78
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2258a9;
/* rgb */ color: rgb(34, 88, 169);
/* oklch */ color: oklch(47.1% 0.142 258.7);
Tailwind
colors: {
  custom: {
    50: '#7386c3',
    500: '#2258a9',
    950: '#000000',
  },
}
SCSS
$custom: #2258a9;
$custom-light: #7386c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2258a9",
  "rgb": {
    "r": 34,
    "g": 88,
    "b": 169
  },
  "hsl": {
    "h": 216,
    "s": 66.502,
    "l": 39.804
  },
  "oklch": {
    "l": 0.47081,
    "c": 0.14214,
    "h": 258.7
  },
  "luminance": 0.10184
}

Semantic roles & 50–950 ramp

primary
#2258A9
secondary
#C59D61
accent
#A53EE9
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2258A9

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

Preview Lab → · Contrast checker → · Palette generator →

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