#227A7D#227A7D

#227A7D is a mid, moderate teal. Relative luminance 0.157; OKLCH L 53.1% C 0.080 H 198.4°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#227A7D
RGBrgb(34, 122, 125)
HSLhsl(182, 57%, 31%)
HSVhsv(182, 73%, 49%)
CMYKcmyk(72.8%, 2.4%, 0%, 51%)
CIE-LABlab(46.63, -23.96, -9.09)
CIE-LCHlch(46.63, 25.63, 200.78°)
OKLaboklab(53.09% -0.0759 -0.0252)
OKLCHoklch(53.09% 0.08 198.4)
XYZxyz(11.3192, 15.7385, 21.8393)
Luminance0.1574 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227A7D #7D2522
analogous
#227D52 #227A7D #224C7D
triadic
#227A7D #7D227A #7A7D22
tetradic
#227A7D #52227D #7D2522 #4C7D22
square
#227A7D #52227D #7D2522 #4C7D22
split-complementary
#227A7D #7D224C #7D5222
monochromatic
#081C1D #154B4D #227A7D #2FA9AD #4BCACE

Accessibility & contrast

On white

5.06
#227A7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#227A7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227A7D
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227A7D#FFFFFF#000000##FFFFFF
##227A7D1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71747D
Deuteranopia (green-blind)
#646A7E
Tritanopia (blue-blind)
#007E7B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #227a7d;
/* rgb */ color: rgb(34, 122, 125);
/* oklch */ color: oklch(53.1% 0.080 198.4);
Tailwind
colors: {
  custom: {
    50: '#6ca1a2',
    500: '#227a7d',
    950: '#000000',
  },
}
SCSS
$custom: #227a7d;
$custom-light: #6ca1a2;
$custom-dark: #000000;
JSON
{
  "hex": "#227a7d",
  "rgb": {
    "r": 34,
    "g": 122,
    "b": 125
  },
  "hsl": {
    "h": 181.978,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.53086,
    "c": 0.08002,
    "h": 198.4
  },
  "luminance": 0.1574
}

Semantic roles & 50–950 ramp

primary
#227A7D
secondary
#B04E4B
accent
#4C47E0
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080F0F
muted
#7B7E7E

Preview Lab

Preview with #227A7D

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

Preview Lab → · Contrast checker → · Palette generator →

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