#255097#255097

#255097 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.1% C 0.126 H 259.9°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#255097
RGBrgb(37, 80, 151)
HSLhsl(217, 61%, 37%)
HSVhsv(217, 75%, 59%)
CMYKcmyk(75.5%, 47%, 0%, 40.8%)
CIE-LABlab(34.73, 11.04, -43.25)
CIE-LCHlch(34.73, 44.64, 284.32°)
OKLaboklab(44.08% -0.0221 -0.124)
OKLCHoklch(44.08% 0.126 259.9)
XYZxyz(9.2155, 8.3640, 30.4009)
Luminance0.0837 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255097 #976C25
analogous
#258997 #255097 #332597
triadic
#255097 #972550 #509725
tetradic
#255097 #972589 #976C25 #259733
square
#255097 #972589 #976C25 #259733
split-complementary
#255097 #973325 #899725
monochromatic
#0D1C35 #193666 #255097 #316AC8 #5F8CD8

Accessibility & contrast

On white

7.86
#255097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#255097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #255097
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255097#FFFFFF#000000##FFFFFF
##2550971.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #255097;
/* rgb */ color: rgb(37, 80, 151);
/* oklch */ color: oklch(44.1% 0.126 259.9);
Tailwind
colors: {
  custom: {
    50: '#7080b6',
    500: '#255097',
    950: '#000000',
  },
}
SCSS
$custom: #255097;
$custom-light: #7080b6;
$custom-dark: #000000;
JSON
{
  "hex": "#255097",
  "rgb": {
    "r": 37,
    "g": 80,
    "b": 151
  },
  "hsl": {
    "h": 217.368,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.4408,
    "c": 0.12597,
    "h": 259.9
  },
  "luminance": 0.08365
}

Semantic roles & 50–950 ramp

primary
#255097
secondary
#BD985B
accent
#A844E4
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #255097

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

Preview Lab → · Contrast checker → · Palette generator →

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