#255199#255199

#255199 is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.5% C 0.128 H 259.8°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#255199
RGBrgb(37, 81, 153)
HSLhsl(217, 61%, 37%)
HSVhsv(217, 76%, 60%)
CMYKcmyk(75.8%, 47.1%, 0%, 40%)
CIE-LABlab(35.16, 11.16, -43.78)
CIE-LCHlch(35.16, 45.18, 284.30°)
OKLaboklab(44.45% -0.0226 -0.1255)
OKLCHoklch(44.45% 0.128 259.8)
XYZxyz(9.4531, 8.5770, 31.2881)
Luminance0.0858 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255199 #996D25
analogous
#258B99 #255199 #332599
triadic
#255199 #992551 #519925
tetradic
#255199 #99258B #996D25 #259933
square
#255199 #99258B #996D25 #259933
split-complementary
#255199 #993325 #8B9925
monochromatic
#0D1D36 #193768 #255199 #316BCA #608ED9

Accessibility & contrast

On white

7.73
#255199 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#255199 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #255199
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255199#FFFFFF#000000##FFFFFF
##2551991.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B589C
Deuteranopia (green-blind)
#104E98
Tritanopia (blue-blind)
#00626D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #255199;
/* rgb */ color: rgb(37, 81, 153);
/* oklch */ color: oklch(44.5% 0.128 259.8);
Tailwind
colors: {
  custom: {
    50: '#7081b7',
    500: '#255199',
    950: '#000000',
  },
}
SCSS
$custom: #255199;
$custom-light: #7081b7;
$custom-dark: #000000;
JSON
{
  "hex": "#255199",
  "rgb": {
    "r": 37,
    "g": 81,
    "b": 153
  },
  "hsl": {
    "h": 217.241,
    "s": 61.053,
    "l": 37.255
  },
  "oklch": {
    "l": 0.44451,
    "c": 0.12756,
    "h": 259.8
  },
  "luminance": 0.08578
}

Semantic roles & 50–950 ramp

primary
#255199
secondary
#BE995C
accent
#A744E4
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #255199

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

Preview Lab → · Contrast checker → · Palette generator →

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