#227BA1#227BA1

#227BA1 is a mid, moderate cyan. Relative luminance 0.171; OKLCH L 54.9% C 0.099 H 231.5°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#227BA1
RGBrgb(34, 123, 161)
HSLhsl(198, 65%, 38%)
HSVhsv(198, 79%, 63%)
CMYKcmyk(78.9%, 23.6%, 0%, 36.9%)
CIE-LABlab(48.36, -12.26, -27.67)
CIE-LCHlch(48.36, 30.26, 246.10°)
OKLaboklab(54.94% -0.0619 -0.0779)
OKLCHoklch(54.94% 0.099 231.5)
XYZxyz(14.1731, 17.0775, 36.2606)
Luminance0.1708 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227BA1 #A14822
analogous
#22A187 #227BA1 #223BA1
triadic
#227BA1 #A1227B #7BA122
tetradic
#227BA1 #8722A1 #A14822 #3BA122
square
#227BA1 #8722A1 #A14822 #3BA122
split-complementary
#227BA1 #A1223B #A18722
monochromatic
#0D2E3C #17546E #227BA1 #2DA1D3 #60B8DD

Accessibility & contrast

On white

4.76
#227BA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#227BA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227BA1
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227BA1#FFFFFF#000000##FFFFFF
##227BA11.004.764.424.76
#FFFFFF4.761.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#687AA3
Deuteranopia (green-blind)
#576EA0
Tritanopia (blue-blind)
#008588
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #227ba1;
/* rgb */ color: rgb(34, 123, 161);
/* oklch */ color: oklch(54.9% 0.099 231.5);
Tailwind
colors: {
  custom: {
    50: '#72a1bd',
    500: '#227ba1',
    950: '#000000',
  },
}
SCSS
$custom: #227ba1;
$custom-light: #72a1bd;
$custom-dark: #000000;
JSON
{
  "hex": "#227ba1",
  "rgb": {
    "r": 34,
    "g": 123,
    "b": 161
  },
  "hsl": {
    "h": 197.953,
    "s": 65.128,
    "l": 38.235
  },
  "oklch": {
    "l": 0.54942,
    "c": 0.09949,
    "h": 231.5
  },
  "luminance": 0.17079
}

Semantic roles & 50–950 ramp

primary
#227BA1
secondary
#C27B5D
accent
#7240E8
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #227BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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