#227FA9#227FA9

#227FA9 is a mid, moderate cyan. Relative luminance 0.184; OKLCH L 56.3% C 0.105 H 233.2°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#227FA9
RGBrgb(34, 127, 169)
HSLhsl(199, 67%, 40%)
HSVhsv(199, 80%, 66%)
CMYKcmyk(79.9%, 24.9%, 0%, 33.7%)
CIE-LABlab(49.96, -11.66, -29.84)
CIE-LCHlch(49.96, 32.04, 248.65°)
OKLaboklab(56.34% -0.0629 -0.0841)
OKLCHoklch(56.34% 0.105 233.2)
XYZxyz(15.4076, 18.3815, 40.2644)
Luminance0.1838 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227FA9 #A94C22
analogous
#22A990 #227FA9 #223BA9
triadic
#227FA9 #A9227F #7FA922
tetradic
#227FA9 #9022A9 #A94C22 #3BA922
square
#227FA9 #9022A9 #A94C22 #3BA922
split-complementary
#227FA9 #A9223B #A99022
monochromatic
#0D3243 #185976 #227FA9 #32A3D6 #65BAE0

Accessibility & contrast

On white

4.49
#227FA9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#227FA9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #227FA9
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227FA9#FFFFFF#000000##000000
##227FA91.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A7EAB
Deuteranopia (green-blind)
#5871A8
Tritanopia (blue-blind)
#008A8D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #227fa9;
/* rgb */ color: rgb(34, 127, 169);
/* oklch */ color: oklch(56.3% 0.105 233.2);
Tailwind
colors: {
  custom: {
    50: '#73a4c2',
    500: '#227fa9',
    950: '#000000',
  },
}
SCSS
$custom: #227fa9;
$custom-light: #73a4c2;
$custom-dark: #000000;
JSON
{
  "hex": "#227fa9",
  "rgb": {
    "r": 34,
    "g": 127,
    "b": 169
  },
  "hsl": {
    "h": 198.667,
    "s": 66.502,
    "l": 39.804
  },
  "oklch": {
    "l": 0.56335,
    "c": 0.10503,
    "h": 233.2
  },
  "luminance": 0.18383
}

Semantic roles & 50–950 ramp

primary
#227FA9
secondary
#C58061
accent
#743EE9
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#090F12
muted
#7B7F81

Preview Lab

Preview with #227FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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