#225097#225097

#225097 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.0% C 0.127 H 259.0°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#225097
RGBrgb(34, 80, 151)
HSLhsl(216, 63%, 36%)
HSVhsv(216, 77%, 59%)
CMYKcmyk(77.5%, 47%, 0%, 40.8%)
CIE-LABlab(34.62, 10.64, -43.43)
CIE-LCHlch(34.62, 44.72, 283.77°)
OKLaboklab(43.97% -0.0242 -0.1246)
OKLCHoklch(43.97% 0.127 259)
XYZxyz(9.1122, 8.3107, 30.3960)
Luminance0.0831 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225097 #976922
analogous
#228B97 #225097 #2F2297
triadic
#225097 #972250 #509722
tetradic
#225097 #97228B #976922 #22972F
square
#225097 #97228B #976922 #22972F
split-complementary
#225097 #972F22 #8B9722
monochromatic
#0C1B33 #173665 #225097 #2D6AC9 #5A8CDA

Accessibility & contrast

On white

7.89
#225097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#225097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #225097
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225097#FFFFFF#000000##FFFFFF
##2250971.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A579A
Deuteranopia (green-blind)
#0E4C96
Tritanopia (blue-blind)
#00616C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #225097;
/* rgb */ color: rgb(34, 80, 151);
/* oklch */ color: oklch(44.0% 0.127 259.0);
Tailwind
colors: {
  custom: {
    50: '#6f80b6',
    500: '#225097',
    950: '#000000',
  },
}
SCSS
$custom: #225097;
$custom-light: #6f80b6;
$custom-dark: #000000;
JSON
{
  "hex": "#225097",
  "rgb": {
    "r": 34,
    "g": 80,
    "b": 151
  },
  "hsl": {
    "h": 216.41,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.43966,
    "c": 0.12692,
    "h": 259
  },
  "luminance": 0.08312
}

Semantic roles & 50–950 ramp

primary
#225097
secondary
#BE9557
accent
#A642E6
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #225097

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

Preview Lab → · Contrast checker → · Palette generator →

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