#2258AA#2258AA

#2258AA is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.2% C 0.144 H 258.9°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#2258AA
RGBrgb(34, 88, 170)
HSLhsl(216, 67%, 40%)
HSVhsv(216, 80%, 67%)
CMYKcmyk(80%, 48.2%, 0%, 33.3%)
CIE-LABlab(38.24, 12.83, -49.00)
CIE-LCHlch(38.24, 50.65, 284.67°)
OKLaboklab(47.15% -0.0276 -0.1408)
OKLCHoklch(47.15% 0.144 258.9)
XYZxyz(11.4025, 10.2205, 39.3942)
Luminance0.1022 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2258AA #AA7422
analogous
#229CAA #2258AA #3022AA
triadic
#2258AA #AA2258 #58AA22
tetradic
#2258AA #AA229C #AA7422 #22AA30
square
#2258AA #AA229C #AA7422 #22AA30
split-complementary
#2258AA #AA3022 #9CAA22
monochromatic
#0E2344 #183E77 #2258AA #3374D6 #6697E0

Accessibility & contrast

On white

6.90
#2258AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##2258AA#FFFFFF#000000##FFFFFF
##2258AA1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A61AD
Deuteranopia (green-blind)
#0054A8
Tritanopia (blue-blind)
#006C79
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2258aa;
/* rgb */ color: rgb(34, 88, 170);
/* oklch */ color: oklch(47.2% 0.144 258.9);
Tailwind
colors: {
  custom: {
    50: '#7386c4',
    500: '#2258aa',
    950: '#000000',
  },
}
SCSS
$custom: #2258aa;
$custom-light: #7386c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2258aa",
  "rgb": {
    "r": 34,
    "g": 88,
    "b": 170
  },
  "hsl": {
    "h": 216.176,
    "s": 66.667,
    "l": 40
  },
  "oklch": {
    "l": 0.47153,
    "c": 0.14351,
    "h": 258.9
  },
  "luminance": 0.10222
}

Semantic roles & 50–950 ramp

primary
#2258AA
secondary
#C69E62
accent
#A63EEA
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#090B13
muted
#7B7C82

Preview Lab

Preview with #2258AA

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

Preview Lab → · Contrast checker → · Palette generator →

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