#255091#255091

#255091 is a dark, moderate blue. Relative luminance 0.082; OKLCH L 43.7% C 0.117 H 258.6°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#255091
RGBrgb(37, 80, 145)
HSLhsl(216, 59%, 36%)
HSVhsv(216, 74%, 57%)
CMYKcmyk(74.5%, 44.8%, 0%, 43.1%)
CIE-LABlab(34.34, 8.69, -40.23)
CIE-LCHlch(34.34, 41.16, 282.19°)
OKLaboklab(43.66% -0.0232 -0.1151)
OKLCHoklch(43.66% 0.117 258.6)
XYZxyz(8.7406, 8.1740, 27.8997)
Luminance0.0818 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255091 #916625
analogous
#258691 #255091 #302591
triadic
#255091 #912550 #509125
tetradic
#255091 #912586 #916625 #259130
square
#255091 #912586 #916625 #259130
split-complementary
#255091 #913025 #869125
monochromatic
#0C1A2F #193560 #255091 #316BC2 #5B8CD5

Accessibility & contrast

On white

7.97
#255091 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#255091 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #255091
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255091#FFFFFF#000000##FFFFFF
##2550911.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305693
Deuteranopia (green-blind)
#1C4C90
Tritanopia (blue-blind)
#005F69
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #255091;
/* rgb */ color: rgb(37, 80, 145);
/* oklch */ color: oklch(43.7% 0.117 258.6);
Tailwind
colors: {
  custom: {
    50: '#6e80b2',
    500: '#255091',
    950: '#000000',
  },
}
SCSS
$custom: #255091;
$custom-light: #6e80b2;
$custom-dark: #000000;
JSON
{
  "hex": "#255091",
  "rgb": {
    "r": 37,
    "g": 80,
    "b": 145
  },
  "hsl": {
    "h": 216.111,
    "s": 59.341,
    "l": 35.686
  },
  "oklch": {
    "l": 0.43656,
    "c": 0.11746,
    "h": 258.6
  },
  "luminance": 0.08175
}

Semantic roles & 50–950 ramp

primary
#255091
secondary
#BA9358
accent
#A445E3
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #255091

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

Preview Lab → · Contrast checker → · Palette generator →

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