#227DA5#227DA5

#227DA5 is a mid, moderate cyan. Relative luminance 0.177; OKLCH L 55.6% C 0.102 H 232.4°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#227DA5
RGBrgb(34, 125, 165)
HSLhsl(198, 66%, 39%)
HSVhsv(198, 79%, 65%)
CMYKcmyk(79.4%, 24.2%, 0%, 35.3%)
CIE-LABlab(49.16, -11.96, -28.76)
CIE-LCHlch(49.16, 31.15, 247.41°)
OKLaboklab(55.64% -0.0624 -0.081)
OKLCHoklch(55.64% 0.102 232.4)
XYZxyz(14.7821, 17.7221, 38.2316)
Luminance0.1772 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227DA5 #A54A22
analogous
#22A58C #227DA5 #223BA5
triadic
#227DA5 #A5227D #7DA522
tetradic
#227DA5 #8C22A5 #A54A22 #3BA522
square
#227DA5 #8C22A5 #A54A22 #3BA522
split-complementary
#227DA5 #A5223B #A58C22
monochromatic
#0D3040 #185772 #227DA5 #30A2D4 #63B9DF

Accessibility & contrast

On white

4.62
#227DA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#227DA5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #227DA5
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227DA5#FFFFFF#000000##FFFFFF
##227DA51.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#697CA7
Deuteranopia (green-blind)
#586FA4
Tritanopia (blue-blind)
#00888B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #227da5;
/* rgb */ color: rgb(34, 125, 165);
/* oklch */ color: oklch(55.6% 0.102 232.4);
Tailwind
colors: {
  custom: {
    50: '#72a2c0',
    500: '#227da5',
    950: '#000000',
  },
}
SCSS
$custom: #227da5;
$custom-light: #72a2c0;
$custom-dark: #000000;
JSON
{
  "hex": "#227da5",
  "rgb": {
    "r": 34,
    "g": 125,
    "b": 165
  },
  "hsl": {
    "h": 198.321,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.55639,
    "c": 0.10225,
    "h": 232.4
  },
  "luminance": 0.17724
}

Semantic roles & 50–950 ramp

primary
#227DA5
secondary
#C47E5F
accent
#733FE9
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#090F12
muted
#7B7E81

Preview Lab

Preview with #227DA5

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

Preview Lab → · Contrast checker → · Palette generator →

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