#255198#255198

#255198 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.4% C 0.126 H 259.6°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#255198
RGBrgb(37, 81, 152)
HSLhsl(217, 61%, 37%)
HSVhsv(217, 76%, 60%)
CMYKcmyk(75.7%, 46.7%, 0%, 40.4%)
CIE-LABlab(35.09, 10.76, -43.28)
CIE-LCHlch(35.09, 44.60, 283.97°)
OKLaboklab(44.38% -0.0228 -0.1241)
OKLCHoklch(44.38% 0.126 259.6)
XYZxyz(9.3708, 8.5441, 30.8550)
Luminance0.0854 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255198 #986C25
analogous
#258B98 #255198 #322598
triadic
#255198 #982551 #519825
tetradic
#255198 #98258B #986C25 #259832
square
#255198 #98258B #986C25 #259832
split-complementary
#255198 #983225 #8B9825
monochromatic
#0D1D36 #193767 #255198 #316BC9 #5F8ED8

Accessibility & contrast

On white

7.75
#255198 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#255198 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #255198
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255198#FFFFFF#000000##FFFFFF
##2551981.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C589B
Deuteranopia (green-blind)
#124E97
Tritanopia (blue-blind)
#00626D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #255198;
/* rgb */ color: rgb(37, 81, 152);
/* oklch */ color: oklch(44.4% 0.126 259.6);
Tailwind
colors: {
  custom: {
    50: '#7081b7',
    500: '#255198',
    950: '#000000',
  },
}
SCSS
$custom: #255198;
$custom-light: #7081b7;
$custom-dark: #000000;
JSON
{
  "hex": "#255198",
  "rgb": {
    "r": 37,
    "g": 81,
    "b": 152
  },
  "hsl": {
    "h": 217.043,
    "s": 60.847,
    "l": 37.059
  },
  "oklch": {
    "l": 0.44379,
    "c": 0.12615,
    "h": 259.6
  },
  "luminance": 0.08545
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #255198

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

Preview Lab → · Contrast checker → · Palette generator →

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