#227398#227398

#227398 is a mid, moderate cyan. Relative luminance 0.149; OKLCH L 52.5% C 0.095 H 232.9°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#227398
RGBrgb(34, 115, 152)
HSLhsl(199, 63%, 36%)
HSVhsv(199, 78%, 60%)
CMYKcmyk(77.6%, 24.3%, 0%, 40.4%)
CIE-LABlab(45.45, -10.91, -26.90)
CIE-LCHlch(45.45, 29.03, 247.92°)
OKLaboklab(52.49% -0.0573 -0.0757)
OKLCHoklch(52.49% 0.095 232.9)
XYZxyz(12.4556, 14.8671, 31.9128)
Luminance0.1487 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227398 #984722
analogous
#229882 #227398 #223898
triadic
#227398 #982273 #739822
tetradic
#227398 #822298 #984722 #389822
square
#227398 #822298 #984722 #389822
split-complementary
#227398 #982238 #988222
monochromatic
#0C2734 #174D66 #227398 #2D99CA #5AB2DA

Accessibility & contrast

On white

5.28
#227398 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#227398 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227398
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227398#FFFFFF#000000##FFFFFF
##2273981.005.283.975.28
#FFFFFF5.281.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61729A
Deuteranopia (green-blind)
#516797
Tritanopia (blue-blind)
#007D7F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #227398;
/* rgb */ color: rgb(34, 115, 152);
/* oklch */ color: oklch(52.5% 0.095 232.9);
Tailwind
colors: {
  custom: {
    50: '#709bb6',
    500: '#227398',
    950: '#000000',
  },
}
SCSS
$custom: #227398;
$custom-light: #709bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#227398",
  "rgb": {
    "r": 34,
    "g": 115,
    "b": 152
  },
  "hsl": {
    "h": 198.814,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.52491,
    "c": 0.09496,
    "h": 232.9
  },
  "luminance": 0.14869
}

Semantic roles & 50–950 ramp

primary
#227398
secondary
#BE7857
accent
#7541E6
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #227398

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

Preview Lab → · Contrast checker → · Palette generator →

#227398 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva