#2270C1#2270C1

#2270C1 is a mid, vivid cyan. Relative luminance 0.158; OKLCH L 54.2% C 0.146 H 253.1°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#2270C1
RGBrgb(34, 112, 193)
HSLhsl(211, 70%, 45%)
HSVhsv(211, 82%, 76%)
CMYKcmyk(82.4%, 42%, 0%, 24.3%)
CIE-LABlab(46.68, 6.34, -48.90)
CIE-LCHlch(46.68, 49.31, 277.39°)
OKLaboklab(54.16% -0.0425 -0.14)
OKLCHoklch(54.16% 0.146 253.1)
XYZxyz(16.0759, 15.7767, 52.6397)
Luminance0.1578 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2270C1 #C17322
analogous
#22C0C1 #2270C1 #2422C1
triadic
#2270C1 #C12270 #70C122
tetradic
#2270C1 #C122C0 #C17322 #22C124
square
#2270C1 #C122C0 #C17322 #22C124
split-complementary
#2270C1 #C12422 #C0C122
monochromatic
#103459 #19528D #2270C1 #428FDE #76AEE7

Accessibility & contrast

On white

5.05
#2270C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#2270C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2270C1
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2270C1#FFFFFF#000000##FFFFFF
##2270C11.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4776C4
Deuteranopia (green-blind)
#2B68BF
Tritanopia (blue-blind)
#00838F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2270c1;
/* rgb */ color: rgb(34, 112, 193);
/* oklch */ color: oklch(54.2% 0.146 253.1);
Tailwind
colors: {
  custom: {
    50: '#7898d4',
    500: '#2270c1',
    950: '#000000',
  },
}
SCSS
$custom: #2270c1;
$custom-light: #7898d4;
$custom-dark: #000000;
JSON
{
  "hex": "#2270c1",
  "rgb": {
    "r": 34,
    "g": 112,
    "b": 193
  },
  "hsl": {
    "h": 210.566,
    "s": 70.044,
    "l": 44.51
  },
  "oklch": {
    "l": 0.54157,
    "c": 0.14633,
    "h": 253.1
  },
  "luminance": 0.15779
}

Semantic roles & 50–950 ramp

primary
#2270C1
secondary
#CEA071
accent
#963BED
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0A0D14
muted
#7C7E83

Preview Lab

Preview with #2270C1

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

Preview Lab → · Contrast checker → · Palette generator →

#2270C1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva