#227CAF#227CAF

#227CAF is a mid, moderate cyan. Relative luminance 0.179; OKLCH L 55.9% C 0.113 H 239.2°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#227CAF
RGBrgb(34, 124, 175)
HSLhsl(202, 67%, 41%)
HSVhsv(202, 81%, 69%)
CMYKcmyk(80.6%, 29.1%, 0%, 31.4%)
CIE-LABlab(49.31, -7.75, -34.32)
CIE-LCHlch(49.31, 35.19, 257.28°)
OKLaboklab(55.92% -0.058 -0.0972)
OKLCHoklch(55.92% 0.113 239.2)
XYZxyz(15.6021, 17.8486, 43.1720)
Luminance0.1785 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227CAF #AF5522
analogous
#22AF9B #227CAF #2235AF
triadic
#227CAF #AF227C #7CAF22
tetradic
#227CAF #9B22AF #AF5522 #35AF22
square
#227CAF #9B22AF #AF5522 #35AF22
split-complementary
#227CAF #AF2235 #AF9B22
monochromatic
#0E3349 #18587C #227CAF #369DD8 #69B6E2

Accessibility & contrast

On white

4.59
#227CAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#227CAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #227CAF
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227CAF#FFFFFF#000000##FFFFFF
##227CAF1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#647CB1
Deuteranopia (green-blind)
#516FAE
Tritanopia (blue-blind)
#00898E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #227caf;
/* rgb */ color: rgb(34, 124, 175);
/* oklch */ color: oklch(55.9% 0.113 239.2);
Tailwind
colors: {
  custom: {
    50: '#74a1c7',
    500: '#227caf',
    950: '#000000',
  },
}
SCSS
$custom: #227caf;
$custom-light: #74a1c7;
$custom-dark: #000000;
JSON
{
  "hex": "#227caf",
  "rgb": {
    "r": 34,
    "g": 124,
    "b": 175
  },
  "hsl": {
    "h": 201.702,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.55915,
    "c": 0.11315,
    "h": 239.2
  },
  "luminance": 0.17851
}

Semantic roles & 50–950 ramp

primary
#227CAF
secondary
#C88965
accent
#7C3DEA
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0F13
muted
#7C7E82

Preview Lab

Preview with #227CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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