#2270A5#2270A5

#2270A5 is a mid, moderate cyan. Relative luminance 0.146; OKLCH L 52.4% C 0.111 H 243.3°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#2270A5
RGBrgb(34, 112, 165)
HSLhsl(204, 66%, 39%)
HSVhsv(204, 79%, 65%)
CMYKcmyk(79.4%, 32.1%, 0%, 35.3%)
CIE-LABlab(45.14, -4.33, -35.05)
CIE-LCHlch(45.14, 35.31, 262.95°)
OKLaboklab(52.45% -0.0499 -0.0994)
OKLCHoklch(52.45% 0.111 243.3)
XYZxyz(13.2427, 14.6434, 37.7185)
Luminance0.1464 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2270A5 #A55722
analogous
#22A599 #2270A5 #222FA5
triadic
#2270A5 #A52270 #70A522
tetradic
#2270A5 #9922A5 #A55722 #2FA522
square
#2270A5 #9922A5 #A55722 #2FA522
split-complementary
#2270A5 #A5222F #A59922
monochromatic
#0D2B40 #184E72 #2270A5 #3092D4 #63ADDF

Accessibility & contrast

On white

5.34
#2270A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#2270A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2270A5
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2270A5#FFFFFF#000000##FFFFFF
##2270A51.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5771A7
Deuteranopia (green-blind)
#4565A4
Tritanopia (blue-blind)
#007D83
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2270a5;
/* rgb */ color: rgb(34, 112, 165);
/* oklch */ color: oklch(52.4% 0.111 243.3);
Tailwind
colors: {
  custom: {
    50: '#7298c0',
    500: '#2270a5',
    950: '#000000',
  },
}
SCSS
$custom: #2270a5;
$custom-light: #7298c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2270a5",
  "rgb": {
    "r": 34,
    "g": 112,
    "b": 165
  },
  "hsl": {
    "h": 204.275,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.5245,
    "c": 0.11127,
    "h": 243.3
  },
  "luminance": 0.14645
}

Semantic roles & 50–950 ramp

primary
#2270A5
secondary
#C4885F
accent
#843FE9
background
#F7F9FB
surface
#EDF2F7
border
#C8CCD0
text
#090D12
muted
#7B7E81

Preview Lab

Preview with #2270A5

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

Preview Lab → · Contrast checker → · Palette generator →

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