#2257A1#2257A1

#2257A1 is a mid, vivid cyan. Relative luminance 0.097; OKLCH L 46.3% C 0.132 H 257.6°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#2257A1
RGBrgb(34, 87, 161)
HSLhsl(215, 65%, 38%)
HSVhsv(215, 79%, 63%)
CMYKcmyk(78.9%, 46%, 0%, 36.9%)
CIE-LABlab(37.35, 9.94, -45.07)
CIE-LCHlch(37.35, 46.15, 282.44°)
OKLaboklab(46.28% -0.0284 -0.1293)
OKLCHoklch(46.28% 0.132 257.6)
XYZxyz(10.4985, 9.7285, 35.0358)
Luminance0.0973 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2257A1 #A16C22
analogous
#2296A1 #2257A1 #2D22A1
triadic
#2257A1 #A12257 #57A122
tetradic
#2257A1 #A12296 #A16C22 #22A12D
square
#2257A1 #A12296 #A16C22 #22A12D
split-complementary
#2257A1 #A12D22 #96A122
monochromatic
#0D203C #173C6E #2257A1 #2D72D3 #6094DD

Accessibility & contrast

On white

7.13
#2257A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#2257A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2257A1
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2257A1#FFFFFF#000000##FFFFFF
##2257A11.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305EA4
Deuteranopia (green-blind)
#1353A0
Tritanopia (blue-blind)
#006974
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2257a1;
/* rgb */ color: rgb(34, 87, 161);
/* oklch */ color: oklch(46.3% 0.132 257.6);
Tailwind
colors: {
  custom: {
    50: '#7185bd',
    500: '#2257a1',
    950: '#000000',
  },
}
SCSS
$custom: #2257a1;
$custom-light: #7185bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2257a1",
  "rgb": {
    "r": 34,
    "g": 87,
    "b": 161
  },
  "hsl": {
    "h": 214.961,
    "s": 65.128,
    "l": 38.235
  },
  "oklch": {
    "l": 0.46282,
    "c": 0.13234,
    "h": 257.6
  },
  "luminance": 0.0973
}

Semantic roles & 50–950 ramp

primary
#2257A1
secondary
#C2985D
accent
#A240E8
background
#F7F8FB
surface
#EDEFF7
border
#C8CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2257A1

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

Preview Lab → · Contrast checker → · Palette generator →

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