#2270AF#2270AF

#2270AF is a mid, vivid cyan. Relative luminance 0.150; OKLCH L 53.0% C 0.123 H 247.6°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#2270AF
RGBrgb(34, 112, 175)
HSLhsl(207, 67%, 41%)
HSVhsv(207, 81%, 69%)
CMYKcmyk(80.6%, 36%, 0%, 31.4%)
CIE-LABlab(45.66, -0.55, -40.08)
CIE-LCHlch(45.66, 40.08, 269.21°)
OKLaboklab(53.03% -0.047 -0.1141)
OKLCHoklch(53.03% 0.123 247.6)
XYZxyz(14.1887, 15.0218, 42.7008)
Luminance0.1502 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2270AF #AF6122
analogous
#22AFA7 #2270AF #2229AF
triadic
#2270AF #AF2270 #70AF22
tetradic
#2270AF #A722AF #AF6122 #29AF22
square
#2270AF #A722AF #AF6122 #29AF22
split-complementary
#2270AF #AF2229 #AFA722
monochromatic
#0E2E49 #184F7C #2270AF #3690D8 #69ACE2

Accessibility & contrast

On white

5.24
#2270AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#2270AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2270AF
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2270AF#FFFFFF#000000##FFFFFF
##2270AF1.005.244.005.24
#FFFFFF5.241.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5273B2
Deuteranopia (green-blind)
#3E66AE
Tritanopia (blue-blind)
#007F87
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2270af;
/* rgb */ color: rgb(34, 112, 175);
/* oklch */ color: oklch(53.0% 0.123 247.6);
Tailwind
colors: {
  custom: {
    50: '#7498c7',
    500: '#2270af',
    950: '#000000',
  },
}
SCSS
$custom: #2270af;
$custom-light: #7498c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2270af",
  "rgb": {
    "r": 34,
    "g": 112,
    "b": 175
  },
  "hsl": {
    "h": 206.809,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.53032,
    "c": 0.12343,
    "h": 247.6
  },
  "luminance": 0.15024
}

Semantic roles & 50–950 ramp

primary
#2270AF
secondary
#C89165
accent
#8B3DEA
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2270AF

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

Preview Lab → · Contrast checker → · Palette generator →

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