#227DBD#227DBD

#227DBD is a mid, vivid cyan. Relative luminance 0.187; OKLCH L 56.9% C 0.128 H 244.8°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#227DBD
RGBrgb(34, 125, 189)
HSLhsl(205, 70%, 44%)
HSVhsv(205, 82%, 74%)
CMYKcmyk(82%, 33.9%, 0%, 25.9%)
CIE-LABlab(50.31, -3.14, -40.83)
CIE-LCHlch(50.31, 40.95, 265.60°)
OKLaboklab(56.93% -0.0545 -0.1161)
OKLCHoklch(56.93% 0.128 244.8)
XYZxyz(17.1750, 18.6793, 50.8345)
Luminance0.1868 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227DBD #BD6222
analogous
#22BDAF #227DBD #222FBD
triadic
#227DBD #BD227D #7DBD22
tetradic
#227DBD #AF22BD #BD6222 #2FBD22
square
#227DBD #AF22BD #BD6222 #2FBD22
split-complementary
#227DBD #BD222F #BDAF22
monochromatic
#0F3855 #195B89 #227DBD #409CDD #73B7E6

Accessibility & contrast

On white

4.43
#227DBD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#227DBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #227DBD
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227DBD#FFFFFF#000000##000000
##227DBD1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7FC0
Deuteranopia (green-blind)
#4971BC
Tritanopia (blue-blind)
#008D94
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #227dbd;
/* rgb */ color: rgb(34, 125, 189);
/* oklch */ color: oklch(56.9% 0.128 244.8);
Tailwind
colors: {
  custom: {
    50: '#77a2d1',
    500: '#227dbd',
    950: '#000000',
  },
}
SCSS
$custom: #227dbd;
$custom-light: #77a2d1;
$custom-dark: #000000;
JSON
{
  "hex": "#227dbd",
  "rgb": {
    "r": 34,
    "g": 125,
    "b": 189
  },
  "hsl": {
    "h": 204.774,
    "s": 69.507,
    "l": 43.725
  },
  "oklch": {
    "l": 0.56932,
    "c": 0.12829,
    "h": 244.8
  },
  "luminance": 0.18681
}

Semantic roles & 50–950 ramp

primary
#227DBD
secondary
#CD956E
accent
#843BEC
background
#F7F9FC
surface
#EEF2F9
border
#C9CCD2
text
#0A0F14
muted
#7C7E82

Preview Lab

Preview with #227DBD

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

Preview Lab → · Contrast checker → · Palette generator →

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