#255497#255497

#255497 is a dark, vivid blue. Relative luminance 0.090; OKLCH L 45.0% C 0.121 H 257.7°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#255497
RGBrgb(37, 84, 151)
HSLhsl(215, 61%, 37%)
HSVhsv(215, 75%, 59%)
CMYKcmyk(75.5%, 44.4%, 0%, 40.8%)
CIE-LABlab(35.92, 8.38, -41.34)
CIE-LCHlch(35.92, 42.18, 281.46°)
OKLaboklab(45% -0.0257 -0.1183)
OKLCHoklch(45% 0.121 257.7)
XYZxyz(9.5171, 8.9673, 30.5014)
Luminance0.0897 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255497 #976825
analogous
#258D97 #255497 #2F2597
triadic
#255497 #972554 #549725
tetradic
#255497 #97258D #976825 #25972F
square
#255497 #97258D #976825 #25972F
split-complementary
#255497 #972F25 #8D9725
monochromatic
#0D1D35 #193966 #255497 #316FC8 #5F91D8

Accessibility & contrast

On white

7.52
#255497 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#255497 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #255497
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255497#FFFFFF#000000##FFFFFF
##2554971.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335A9A
Deuteranopia (green-blind)
#1D5096
Tritanopia (blue-blind)
#00646E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #255497;
/* rgb */ color: rgb(37, 84, 151);
/* oklch */ color: oklch(45.0% 0.121 257.7);
Tailwind
colors: {
  custom: {
    50: '#7083b6',
    500: '#255497',
    950: '#000000',
  },
}
SCSS
$custom: #255497;
$custom-light: #7083b6;
$custom-dark: #000000;
JSON
{
  "hex": "#255497",
  "rgb": {
    "r": 37,
    "g": 84,
    "b": 151
  },
  "hsl": {
    "h": 215.263,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.44999,
    "c": 0.12109,
    "h": 257.7
  },
  "luminance": 0.08968
}

Semantic roles & 50–950 ramp

primary
#255497
secondary
#BD945B
accent
#A244E4
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #255497

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

Preview Lab → · Contrast checker → · Palette generator →

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