#227BAF#227BAF

#227BAF is a mid, moderate cyan. Relative luminance 0.176; OKLCH L 55.7% C 0.114 H 239.9°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#227BAF
RGBrgb(34, 123, 175)
HSLhsl(202, 67%, 41%)
HSVhsv(202, 81%, 69%)
CMYKcmyk(80.6%, 29.7%, 0%, 31.4%)
CIE-LABlab(49.01, -7.16, -34.80)
CIE-LCHlch(49.01, 35.53, 258.37°)
OKLaboklab(55.67% -0.057 -0.0986)
OKLCHoklch(55.67% 0.114 239.9)
XYZxyz(15.4774, 17.5992, 43.1304)
Luminance0.1760 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227BAF #AF5622
analogous
#22AF9C #227BAF #2234AF
triadic
#227BAF #AF227B #7BAF22
tetradic
#227BAF #9C22AF #AF5622 #34AF22
square
#227BAF #9C22AF #AF5622 #34AF22
split-complementary
#227BAF #AF2234 #AF9C22
monochromatic
#0E3349 #18577C #227BAF #369CD8 #69B6E2

Accessibility & contrast

On white

4.65
#227BAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#227BAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #227BAF
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227BAF#FFFFFF#000000##FFFFFF
##227BAF1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#627CB1
Deuteranopia (green-blind)
#4F6FAE
Tritanopia (blue-blind)
#00888D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #227baf;
/* rgb */ color: rgb(34, 123, 175);
/* oklch */ color: oklch(55.7% 0.114 239.9);
Tailwind
colors: {
  custom: {
    50: '#74a1c7',
    500: '#227baf',
    950: '#000000',
  },
}
SCSS
$custom: #227baf;
$custom-light: #74a1c7;
$custom-dark: #000000;
JSON
{
  "hex": "#227baf",
  "rgb": {
    "r": 34,
    "g": 123,
    "b": 175
  },
  "hsl": {
    "h": 202.128,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.55672,
    "c": 0.11389,
    "h": 239.9
  },
  "luminance": 0.17601
}

Semantic roles & 50–950 ramp

primary
#227BAF
secondary
#C88965
accent
#7D3DEA
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #227BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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