#2257A0#2257A0

#2257A0 is a mid, vivid cyan. Relative luminance 0.097; OKLCH L 46.2% C 0.131 H 257.4°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#2257A0
RGBrgb(34, 87, 160)
HSLhsl(215, 65%, 38%)
HSVhsv(215, 79%, 63%)
CMYKcmyk(78.8%, 45.6%, 0%, 37.3%)
CIE-LABlab(37.29, 9.55, -44.57)
CIE-LCHlch(37.29, 45.58, 282.09°)
OKLaboklab(46.21% -0.0286 -0.1278)
OKLCHoklch(46.21% 0.131 257.4)
XYZxyz(10.4107, 9.6933, 34.5732)
Luminance0.0969 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2257A0 #A06B22
analogous
#2296A0 #2257A0 #2C22A0
triadic
#2257A0 #A02257 #57A022
tetradic
#2257A0 #A02296 #A06B22 #22A02C
square
#2257A0 #A02296 #A06B22 #22A02C
split-complementary
#2257A0 #A02C22 #96A022
monochromatic
#0D203B #173C6E #2257A0 #2D72D2 #5F94DD

Accessibility & contrast

On white

7.15
#2257A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#2257A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2257A0
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2257A0#FFFFFF#000000##FFFFFF
##2257A01.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315EA3
Deuteranopia (green-blind)
#16529F
Tritanopia (blue-blind)
#006873
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2257a0;
/* rgb */ color: rgb(34, 87, 160);
/* oklch */ color: oklch(46.2% 0.131 257.4);
Tailwind
colors: {
  custom: {
    50: '#7185bc',
    500: '#2257a0',
    950: '#000000',
  },
}
SCSS
$custom: #2257a0;
$custom-light: #7185bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2257a0",
  "rgb": {
    "r": 34,
    "g": 87,
    "b": 160
  },
  "hsl": {
    "h": 214.762,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.46211,
    "c": 0.13096,
    "h": 257.4
  },
  "luminance": 0.09695
}

Semantic roles & 50–950 ramp

primary
#2257A0
secondary
#C2975C
accent
#A140E8
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2257A0

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

Preview Lab → · Contrast checker → · Palette generator →

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