#2258A8#2258A8

#2258A8 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.0% C 0.141 H 258.5°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#2258A8
RGBrgb(34, 88, 168)
HSLhsl(216, 66%, 40%)
HSVhsv(216, 80%, 66%)
CMYKcmyk(79.8%, 47.6%, 0%, 34.1%)
CIE-LABlab(38.10, 12.04, -48.03)
CIE-LCHlch(38.10, 49.52, 284.07°)
OKLaboklab(47.01% -0.028 -0.138)
OKLCHoklch(47.01% 0.141 258.5)
XYZxyz(11.2147, 10.1454, 38.4054)
Luminance0.1015 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2258A8 #A87222
analogous
#229BA8 #2258A8 #2F22A8
triadic
#2258A8 #A82258 #58A822
tetradic
#2258A8 #A8229B #A87222 #22A82F
square
#2258A8 #A8229B #A87222 #22A82F
split-complementary
#2258A8 #A82F22 #9BA822
monochromatic
#0D2342 #183D75 #2258A8 #3274D5 #6596E0

Accessibility & contrast

On white

6.93
#2258A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#2258A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2258A8
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2258A8#FFFFFF#000000##FFFFFF
##2258A81.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C60AB
Deuteranopia (green-blind)
#0254A6
Tritanopia (blue-blind)
#006B78
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2258a8;
/* rgb */ color: rgb(34, 88, 168);
/* oklch */ color: oklch(47.0% 0.141 258.5);
Tailwind
colors: {
  custom: {
    50: '#7286c2',
    500: '#2258a8',
    950: '#000000',
  },
}
SCSS
$custom: #2258a8;
$custom-light: #7286c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2258a8",
  "rgb": {
    "r": 34,
    "g": 88,
    "b": 168
  },
  "hsl": {
    "h": 215.821,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.47008,
    "c": 0.14077,
    "h": 258.5
  },
  "luminance": 0.10147
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2258A8

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

Preview Lab → · Contrast checker → · Palette generator →

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