#2270A7#2270A7

#2270A7 is a mid, moderate cyan. Relative luminance 0.147; OKLCH L 52.6% C 0.114 H 244.3°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#2270A7
RGBrgb(34, 112, 167)
HSLhsl(205, 66%, 39%)
HSVhsv(205, 80%, 65%)
CMYKcmyk(79.6%, 32.9%, 0%, 34.5%)
CIE-LABlab(45.24, -3.58, -36.06)
CIE-LCHlch(45.24, 36.24, 264.33°)
OKLaboklab(52.56% -0.0493 -0.1024)
OKLCHoklch(52.56% 0.114 244.3)
XYZxyz(13.4262, 14.7168, 38.6847)
Luminance0.1472 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2270A7 #A75922
analogous
#22A79C #2270A7 #222EA7
triadic
#2270A7 #A72270 #70A722
tetradic
#2270A7 #9C22A7 #A75922 #2EA722
square
#2270A7 #9C22A7 #A75922 #2EA722
split-complementary
#2270A7 #A7222E #A79C22
monochromatic
#0D2C41 #184E74 #2270A7 #3191D5 #64ACDF

Accessibility & contrast

On white

5.33
#2270A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#2270A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2270A7
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2270A7#FFFFFF#000000##FFFFFF
##2270A71.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5672A9
Deuteranopia (green-blind)
#4466A6
Tritanopia (blue-blind)
#007D84
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2270a7;
/* rgb */ color: rgb(34, 112, 167);
/* oklch */ color: oklch(52.6% 0.114 244.3);
Tailwind
colors: {
  custom: {
    50: '#7298c1',
    500: '#2270a7',
    950: '#000000',
  },
}
SCSS
$custom: #2270a7;
$custom-light: #7298c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2270a7",
  "rgb": {
    "r": 34,
    "g": 112,
    "b": 167
  },
  "hsl": {
    "h": 204.812,
    "s": 66.169,
    "l": 39.412
  },
  "oklch": {
    "l": 0.52564,
    "c": 0.11366,
    "h": 244.3
  },
  "luminance": 0.14718
}

Semantic roles & 50–950 ramp

primary
#2270A7
secondary
#C58A60
accent
#853FE9
background
#F7F9FB
surface
#EDF2F7
border
#C8CCD0
text
#090D12
muted
#7B7E81

Preview Lab

Preview with #2270A7

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

Preview Lab → · Contrast checker → · Palette generator →

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