#255197#255197

#255197 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.3% C 0.125 H 259.4°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#255197
RGBrgb(37, 81, 151)
HSLhsl(217, 61%, 37%)
HSVhsv(217, 75%, 59%)
CMYKcmyk(75.5%, 46.4%, 0%, 40.8%)
CIE-LABlab(35.03, 10.37, -42.78)
CIE-LCHlch(35.03, 44.02, 283.63°)
OKLaboklab(44.31% -0.023 -0.1226)
OKLCHoklch(44.31% 0.125 259.4)
XYZxyz(9.2893, 8.5115, 30.4255)
Luminance0.0851 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255197 #976B25
analogous
#258A97 #255197 #322597
triadic
#255197 #972551 #519725
tetradic
#255197 #97258A #976B25 #259732
square
#255197 #97258A #976B25 #259732
split-complementary
#255197 #973225 #8A9725
monochromatic
#0D1C35 #193766 #255197 #316BC8 #5F8DD8

Accessibility & contrast

On white

7.77
#255197 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#255197 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #255197
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255197#FFFFFF#000000##FFFFFF
##2551971.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D589A
Deuteranopia (green-blind)
#144D96
Tritanopia (blue-blind)
#00616C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #255197;
/* rgb */ color: rgb(37, 81, 151);
/* oklch */ color: oklch(44.3% 0.125 259.4);
Tailwind
colors: {
  custom: {
    50: '#7081b6',
    500: '#255197',
    950: '#000000',
  },
}
SCSS
$custom: #255197;
$custom-light: #7081b6;
$custom-dark: #000000;
JSON
{
  "hex": "#255197",
  "rgb": {
    "r": 37,
    "g": 81,
    "b": 151
  },
  "hsl": {
    "h": 216.842,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.44308,
    "c": 0.12473,
    "h": 259.4
  },
  "luminance": 0.08513
}

Semantic roles & 50–950 ramp

primary
#255197
secondary
#BD975B
accent
#A644E4
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #255197

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

Preview Lab → · Contrast checker → · Palette generator →

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