#225F7B#225F7B

#225F7B is a mid, moderate cyan. Relative luminance 0.100; OKLCH L 45.9% C 0.076 H 231.8°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#225F7B
RGBrgb(34, 95, 123)
HSLhsl(199, 57%, 31%)
HSVhsv(199, 72%, 48%)
CMYKcmyk(72.4%, 22.8%, 0%, 51.8%)
CIE-LABlab(37.76, -9.66, -21.41)
CIE-LCHlch(37.76, 23.49, 245.71°)
OKLaboklab(45.93% -0.0473 -0.0601)
OKLCHoklch(45.93% 0.076 231.8)
XYZxyz(8.3256, 9.9536, 20.2175)
Luminance0.0995 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225F7B #7B3E22
analogous
#227B6A #225F7B #22337B
triadic
#225F7B #7B225F #5F7B22
tetradic
#225F7B #6A227B #7B3E22 #337B22
square
#225F7B #6A227B #7B3E22 #337B22
split-complementary
#225F7B #7B2233 #7B6A22
monochromatic
#07151B #153A4B #225F7B #2F84AB #4AA4CD

Accessibility & contrast

On white

7.02
#225F7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#225F7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #225F7B
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225F7B#FFFFFF#000000##FFFFFF
##225F7B1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515E7C
Deuteranopia (green-blind)
#45557B
Tritanopia (blue-blind)
#006768
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #225f7b;
/* rgb */ color: rgb(34, 95, 123);
/* oklch */ color: oklch(45.9% 0.076 231.8);
Tailwind
colors: {
  custom: {
    50: '#698ca1',
    500: '#225f7b',
    950: '#000000',
  },
}
SCSS
$custom: #225f7b;
$custom-light: #698ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#225f7b",
  "rgb": {
    "r": 34,
    "g": 95,
    "b": 123
  },
  "hsl": {
    "h": 198.876,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.45926,
    "c": 0.07646,
    "h": 231.8
  },
  "luminance": 0.09955
}

Semantic roles & 50–950 ramp

primary
#225F7B
secondary
#AE6A4B
accent
#7848E0
background
#F6F8F9
surface
#ECF0F2
border
#C7CBCC
text
#070C0F
muted
#7A7D7E

Preview Lab

Preview with #225F7B

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

Preview Lab → · Contrast checker → · Palette generator →

#225F7B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva