#2258B3#2258B3

#2258B3 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 47.8% C 0.156 H 260.3°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#2258B3
RGBrgb(34, 88, 179)
HSLhsl(218, 68%, 42%)
HSVhsv(218, 81%, 70%)
CMYKcmyk(81%, 50.8%, 0%, 29.8%)
CIE-LABlab(38.85, 16.36, -53.33)
CIE-LCHlch(38.85, 55.78, 287.06°)
OKLaboklab(47.82% -0.0263 -0.1535)
OKLCHoklch(47.82% 0.156 260.3)
XYZxyz(12.2831, 10.5727, 44.0324)
Luminance0.1057 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2258B3 #B37D22
analogous
#22A1B3 #2258B3 #3522B3
triadic
#2258B3 #B32258 #58B322
tetradic
#2258B3 #B322A1 #B37D22 #22B335
square
#2258B3 #B322A1 #B37D22 #22B335
split-complementary
#2258B3 #B33522 #A1B322
monochromatic
#0E254C #183F80 #2258B3 #3975D9 #6C99E3

Accessibility & contrast

On white

6.74
#2258B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#2258B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2258B3
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2258B3#FFFFFF#000000##FFFFFF
##2258B31.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E62B6
Deuteranopia (green-blind)
#0055B1
Tritanopia (blue-blind)
#006E7D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2258b3;
/* rgb */ color: rgb(34, 88, 179);
/* oklch */ color: oklch(47.8% 0.156 260.3);
Tailwind
colors: {
  custom: {
    50: '#7586ca',
    500: '#2258b3',
    950: '#000000',
  },
}
SCSS
$custom: #2258b3;
$custom-light: #7586ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2258b3",
  "rgb": {
    "r": 34,
    "g": 88,
    "b": 179
  },
  "hsl": {
    "h": 217.655,
    "s": 68.075,
    "l": 41.765
  },
  "oklch": {
    "l": 0.47823,
    "c": 0.15578,
    "h": 260.3
  },
  "luminance": 0.10574
}

Semantic roles & 50–950 ramp

primary
#2258B3
secondary
#C9A568
accent
#AA3DEB
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2258B3

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

Preview Lab → · Contrast checker → · Palette generator →

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