#2258A1#2258A1

#2258A1 is a mid, vivid cyan. Relative luminance 0.099; OKLCH L 46.5% C 0.131 H 257.1°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#2258A1
RGBrgb(34, 88, 161)
HSLhsl(214, 65%, 38%)
HSVhsv(214, 79%, 63%)
CMYKcmyk(78.9%, 45.3%, 0%, 36.9%)
CIE-LABlab(37.65, 9.28, -44.59)
CIE-LCHlch(37.65, 45.55, 281.76°)
OKLaboklab(46.51% -0.0292 -0.1278)
OKLCHoklch(46.51% 0.131 257.1)
XYZxyz(10.5801, 9.8915, 35.0629)
Luminance0.0989 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2258A1 #A16B22
analogous
#2297A1 #2258A1 #2B22A1
triadic
#2258A1 #A12258 #58A122
tetradic
#2258A1 #A12297 #A16B22 #22A12B
square
#2258A1 #A12297 #A16B22 #22A12B
split-complementary
#2258A1 #A12B22 #97A122
monochromatic
#0D213C #173C6E #2258A1 #2D74D3 #6095DD

Accessibility & contrast

On white

7.05
#2258A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#2258A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2258A1#FFFFFF#000000##FFFFFF
##2258A11.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325FA4
Deuteranopia (green-blind)
#1753A0
Tritanopia (blue-blind)
#006974
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2258a1;
/* rgb */ color: rgb(34, 88, 161);
/* oklch */ color: oklch(46.5% 0.131 257.1);
Tailwind
colors: {
  custom: {
    50: '#7186bd',
    500: '#2258a1',
    950: '#000000',
  },
}
SCSS
$custom: #2258a1;
$custom-light: #7186bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2258a1",
  "rgb": {
    "r": 34,
    "g": 88,
    "b": 161
  },
  "hsl": {
    "h": 214.488,
    "s": 65.128,
    "l": 38.235
  },
  "oklch": {
    "l": 0.46511,
    "c": 0.13114,
    "h": 257.1
  },
  "luminance": 0.09893
}

Semantic roles & 50–950 ramp

primary
#2258A1
secondary
#C2975D
accent
#A040E8
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2258A1

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

Preview Lab → · Contrast checker → · Palette generator →

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