#255196#255196

#255196 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.2% C 0.123 H 259.2°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#255196
RGBrgb(37, 81, 150)
HSLhsl(217, 60%, 37%)
HSVhsv(217, 75%, 59%)
CMYKcmyk(75.3%, 46%, 0%, 41.2%)
CIE-LABlab(34.96, 9.98, -42.28)
CIE-LCHlch(34.96, 43.44, 283.28°)
OKLaboklab(44.24% -0.0232 -0.1211)
OKLCHoklch(44.24% 0.123 259.2)
XYZxyz(9.2084, 8.4792, 29.9996)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255196 #966A25
analogous
#258A96 #255196 #312596
triadic
#255196 #962551 #519625
tetradic
#255196 #96258A #966A25 #259631
square
#255196 #96258A #966A25 #259631
split-complementary
#255196 #963125 #8A9625
monochromatic
#0D1C34 #193665 #255196 #316CC7 #5E8DD7

Accessibility & contrast

On white

7.79
#255196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #255196
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255196#FFFFFF#000000##FFFFFF
##2551961.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5899
Deuteranopia (green-blind)
#164D95
Tritanopia (blue-blind)
#00616C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #255196;
/* rgb */ color: rgb(37, 81, 150);
/* oklch */ color: oklch(44.2% 0.123 259.2);
Tailwind
colors: {
  custom: {
    50: '#7081b5',
    500: '#255196',
    950: '#000000',
  },
}
SCSS
$custom: #255196;
$custom-light: #7081b5;
$custom-dark: #000000;
JSON
{
  "hex": "#255196",
  "rgb": {
    "r": 37,
    "g": 81,
    "b": 150
  },
  "hsl": {
    "h": 216.637,
    "s": 60.428,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44237,
    "c": 0.12332,
    "h": 259.2
  },
  "luminance": 0.0848
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #255196

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

Preview Lab → · Contrast checker → · Palette generator →

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