#195171#195171

#195171 is a dark, moderate cyan. Relative luminance 0.073; OKLCH L 41.5% C 0.078 H 238.2°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#195171
RGBrgb(25, 81, 113)
HSLhsl(202, 64%, 27%)
HSVhsv(202, 78%, 44%)
CMYKcmyk(77.9%, 28.3%, 0%, 55.7%)
CIE-LABlab(32.44, -6.21, -23.52)
CIE-LCHlch(32.44, 24.32, 255.21°)
OKLaboklab(41.46% -0.0411 -0.0664)
OKLCHoklch(41.46% 0.078 238.2)
XYZxyz(6.3228, 7.2831, 16.6921)
Luminance0.0728 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#195171 #713919
analogous
#197165 #195171 #192571
triadic
#195171 #711951 #517119
tetradic
#195171 #651971 #713919 #257119
square
#195171 #651971 #713919 #257119
split-complementary
#195171 #711925 #716519
monochromatic
#061219 #0E2D3F #195171 #2475A3 #3398D2

Accessibility & contrast

On white

8.55
#195171 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#195171 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #195171
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##195171#FFFFFF#000000##FFFFFF
##1951711.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425172
Deuteranopia (green-blind)
#364970
Tritanopia (blue-blind)
#00595C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #195171;
/* rgb */ color: rgb(25, 81, 113);
/* oklch */ color: oklch(41.5% 0.078 238.2);
Tailwind
colors: {
  custom: {
    50: '#64819a',
    500: '#195171',
    950: '#000000',
  },
}
SCSS
$custom: #195171;
$custom-light: #64819a;
$custom-dark: #000000;
JSON
{
  "hex": "#195171",
  "rgb": {
    "r": 25,
    "g": 81,
    "b": 113
  },
  "hsl": {
    "h": 201.818,
    "s": 63.768,
    "l": 27.059
  },
  "oklch": {
    "l": 0.41464,
    "c": 0.07808,
    "h": 238.2
  },
  "luminance": 0.07284
}

Semantic roles & 50–950 ramp

primary
#195171
secondary
#A66540
accent
#7D41E7
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0E
muted
#7A7C7E

Preview Lab

Preview with #195171

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

Preview Lab → · Contrast checker → · Palette generator →

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