#227DAF#227DAF

#227DAF is a mid, moderate cyan. Relative luminance 0.181; OKLCH L 56.2% C 0.112 H 238.4°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#227DAF
RGBrgb(34, 125, 175)
HSLhsl(201, 67%, 41%)
HSVhsv(201, 81%, 69%)
CMYKcmyk(80.6%, 28.6%, 0%, 31.4%)
CIE-LABlab(49.62, -8.33, -33.84)
CIE-LCHlch(49.62, 34.85, 256.17°)
OKLaboklab(56.16% -0.0589 -0.0958)
OKLCHoklch(56.16% 0.112 238.4)
XYZxyz(15.7281, 18.1005, 43.2139)
Luminance0.1810 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227DAF #AF5422
analogous
#22AF9A #227DAF #2236AF
triadic
#227DAF #AF227D #7DAF22
tetradic
#227DAF #9A22AF #AF5422 #36AF22
square
#227DAF #9A22AF #AF5422 #36AF22
split-complementary
#227DAF #AF2236 #AF9A22
monochromatic
#0E3449 #18587C #227DAF #369FD8 #69B7E2

Accessibility & contrast

On white

4.55
#227DAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#227DAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #227DAF
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227DAF#FFFFFF#000000##000000
##227DAF1.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#657DB1
Deuteranopia (green-blind)
#5270AE
Tritanopia (blue-blind)
#008A8E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #227daf;
/* rgb */ color: rgb(34, 125, 175);
/* oklch */ color: oklch(56.2% 0.112 238.4);
Tailwind
colors: {
  custom: {
    50: '#74a2c7',
    500: '#227daf',
    950: '#000000',
  },
}
SCSS
$custom: #227daf;
$custom-light: #74a2c7;
$custom-dark: #000000;
JSON
{
  "hex": "#227daf",
  "rgb": {
    "r": 34,
    "g": 125,
    "b": 175
  },
  "hsl": {
    "h": 201.277,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.56157,
    "c": 0.11243,
    "h": 238.4
  },
  "luminance": 0.18102
}

Semantic roles & 50–950 ramp

primary
#227DAF
secondary
#C88865
accent
#7B3DEA
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0F13
muted
#7C7E82

Preview Lab

Preview with #227DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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