#225795#225795

#225795 is a mid, moderate cyan. Relative luminance 0.093; OKLCH L 45.5% C 0.116 H 254.5°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#225795
RGBrgb(34, 87, 149)
HSLhsl(212, 63%, 36%)
HSVhsv(212, 77%, 58%)
CMYKcmyk(77.2%, 41.6%, 0%, 41.6%)
CIE-LABlab(36.60, 5.23, -39.05)
CIE-LCHlch(36.60, 39.40, 277.62°)
OKLaboklab(45.46% -0.0309 -0.1116)
OKLCHoklch(45.46% 0.116 254.5)
XYZxyz(9.4907, 9.3253, 29.7277)
Luminance0.0933 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225795 #956022
analogous
#229095 #225795 #262295
triadic
#225795 #952257 #579522
tetradic
#225795 #952290 #956022 #229526
square
#225795 #952290 #956022 #229526
split-complementary
#225795 #952622 #909522
monochromatic
#0B1D31 #173A63 #225795 #2D74C7 #5894D9

Accessibility & contrast

On white

7.33
#225795 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#225795 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #225795
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225795#FFFFFF#000000##FFFFFF
##2257951.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395C97
Deuteranopia (green-blind)
#265194
Tritanopia (blue-blind)
#00666E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #225795;
/* rgb */ color: rgb(34, 87, 149);
/* oklch */ color: oklch(45.5% 0.116 254.5);
Tailwind
colors: {
  custom: {
    50: '#6e85b4',
    500: '#225795',
    950: '#000000',
  },
}
SCSS
$custom: #225795;
$custom-light: #6e85b4;
$custom-dark: #000000;
JSON
{
  "hex": "#225795",
  "rgb": {
    "r": 34,
    "g": 87,
    "b": 149
  },
  "hsl": {
    "h": 212.348,
    "s": 62.842,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45461,
    "c": 0.11579,
    "h": 254.5
  },
  "luminance": 0.09326
}

Semantic roles & 50–950 ramp

primary
#225795
secondary
#BD8D56
accent
#9A42E6
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #225795

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

Preview Lab → · Contrast checker → · Palette generator →

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