#227FA2#227FA2

#227FA2 is a mid, moderate cyan. Relative luminance 0.181; OKLCH L 56.0% C 0.099 H 228.4°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#227FA2
RGBrgb(34, 127, 162)
HSLhsl(196, 65%, 38%)
HSVhsv(196, 79%, 64%)
CMYKcmyk(79%, 21.6%, 0%, 36.5%)
CIE-LABlab(49.65, -14.17, -26.25)
CIE-LCHlch(49.65, 29.83, 241.65°)
OKLaboklab(55.99% -0.0654 -0.0738)
OKLCHoklch(55.99% 0.099 228.4)
XYZxyz(14.7680, 18.1257, 36.8957)
Luminance0.1813 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227FA2 #A24522
analogous
#22A285 #227FA2 #223FA2
triadic
#227FA2 #A2227F #7FA222
tetradic
#227FA2 #8522A2 #A24522 #3FA222
square
#227FA2 #8522A2 #A24522 #3FA222
split-complementary
#227FA2 #A2223F #A28522
monochromatic
#0D303D #17576F #227FA2 #2EA6D3 #61BCDE

Accessibility & contrast

On white

4.54
#227FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#227FA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #227FA2
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227FA2#FFFFFF#000000##000000
##227FA21.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D7DA4
Deuteranopia (green-blind)
#5C71A2
Tritanopia (blue-blind)
#00898B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #227fa2;
/* rgb */ color: rgb(34, 127, 162);
/* oklch */ color: oklch(56.0% 0.099 228.4);
Tailwind
colors: {
  custom: {
    50: '#72a4bd',
    500: '#227fa2',
    950: '#000000',
  },
}
SCSS
$custom: #227fa2;
$custom-light: #72a4bd;
$custom-dark: #000000;
JSON
{
  "hex": "#227fa2",
  "rgb": {
    "r": 34,
    "g": 127,
    "b": 162
  },
  "hsl": {
    "h": 196.406,
    "s": 65.306,
    "l": 38.431
  },
  "oklch": {
    "l": 0.55988,
    "c": 0.09862,
    "h": 228.4
  },
  "luminance": 0.18127
}

Semantic roles & 50–950 ramp

primary
#227FA2
secondary
#C3795D
accent
#6E40E8
background
#F7FAFB
surface
#EDF4F6
border
#C8CED0
text
#090F12
muted
#7B7F81

Preview Lab

Preview with #227FA2

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

Preview Lab → · Contrast checker → · Palette generator →

#227FA2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva