#225797#225797

#225797 is a mid, moderate cyan. Relative luminance 0.094; OKLCH L 45.6% C 0.119 H 255.1°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#225797
RGBrgb(34, 87, 151)
HSLhsl(213, 63%, 36%)
HSVhsv(213, 77%, 59%)
CMYKcmyk(77.5%, 42.4%, 0%, 40.8%)
CIE-LABlab(36.72, 6.01, -40.07)
CIE-LCHlch(36.72, 40.51, 278.53°)
OKLaboklab(45.59% -0.0305 -0.1146)
OKLCHoklch(45.59% 0.119 255.1)
XYZxyz(9.6517, 9.3897, 30.5759)
Luminance0.0939 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225797 #976222
analogous
#229297 #225797 #282297
triadic
#225797 #972257 #579722
tetradic
#225797 #972292 #976222 #229728
square
#225797 #972292 #976222 #229728
split-complementary
#225797 #972822 #929722
monochromatic
#0C1D33 #173A65 #225797 #2D74C9 #5A94DA

Accessibility & contrast

On white

7.30
#225797 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#225797 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #225797
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225797#FFFFFF#000000##FFFFFF
##2257971.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385C9A
Deuteranopia (green-blind)
#245196
Tritanopia (blue-blind)
#00666F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #225797;
/* rgb */ color: rgb(34, 87, 151);
/* oklch */ color: oklch(45.6% 0.119 255.1);
Tailwind
colors: {
  custom: {
    50: '#6f85b6',
    500: '#225797',
    950: '#000000',
  },
}
SCSS
$custom: #225797;
$custom-light: #6f85b6;
$custom-dark: #000000;
JSON
{
  "hex": "#225797",
  "rgb": {
    "r": 34,
    "g": 87,
    "b": 151
  },
  "hsl": {
    "h": 212.821,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45594,
    "c": 0.11855,
    "h": 255.1
  },
  "luminance": 0.09391
}

Semantic roles & 50–950 ramp

primary
#225797
secondary
#BE8F57
accent
#9C42E6
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #225797

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

Preview Lab → · Contrast checker → · Palette generator →

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