#255096#255096

#255096 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.0% C 0.125 H 259.7°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#255096
RGBrgb(37, 80, 150)
HSLhsl(217, 60%, 37%)
HSVhsv(217, 75%, 59%)
CMYKcmyk(75.3%, 46.7%, 0%, 41.2%)
CIE-LABlab(34.66, 10.65, -42.75)
CIE-LCHlch(34.66, 44.06, 283.98°)
OKLaboklab(44.01% -0.0222 -0.1225)
OKLCHoklch(44.01% 0.125 259.7)
XYZxyz(9.1346, 8.3316, 29.9750)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255096 #966B25
analogous
#258996 #255096 #332596
triadic
#255096 #962550 #509625
tetradic
#255096 #962589 #966B25 #259633
square
#255096 #962589 #966B25 #259633
split-complementary
#255096 #963325 #899625
monochromatic
#0D1C34 #193665 #255096 #316AC7 #5E8CD7

Accessibility & contrast

On white

7.88
#255096 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #255096
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255096#FFFFFF#000000##FFFFFF
##2550961.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5799
Deuteranopia (green-blind)
#134D95
Tritanopia (blue-blind)
#00606B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #255096;
/* rgb */ color: rgb(37, 80, 150);
/* oklch */ color: oklch(44.0% 0.125 259.7);
Tailwind
colors: {
  custom: {
    50: '#7080b5',
    500: '#255096',
    950: '#000000',
  },
}
SCSS
$custom: #255096;
$custom-light: #7080b5;
$custom-dark: #000000;
JSON
{
  "hex": "#255096",
  "rgb": {
    "r": 37,
    "g": 80,
    "b": 150
  },
  "hsl": {
    "h": 217.168,
    "s": 60.428,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44008,
    "c": 0.12455,
    "h": 259.7
  },
  "luminance": 0.08333
}

Semantic roles & 50–950 ramp

primary
#255096
secondary
#BC975B
accent
#A744E4
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #255096

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

Preview Lab → · Contrast checker → · Palette generator →

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