#255095#255095

#255095 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 43.9% C 0.123 H 259.5°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#255095
RGBrgb(37, 80, 149)
HSLhsl(217, 60%, 36%)
HSVhsv(217, 75%, 58%)
CMYKcmyk(75.2%, 46.3%, 0%, 41.6%)
CIE-LABlab(34.60, 10.26, -42.25)
CIE-LCHlch(34.60, 43.48, 283.64°)
OKLaboklab(43.94% -0.0224 -0.1211)
OKLCHoklch(43.94% 0.123 259.5)
XYZxyz(9.0545, 8.2996, 29.5527)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255095 #956A25
analogous
#258895 #255095 #322595
triadic
#255095 #952550 #509525
tetradic
#255095 #952588 #956A25 #259532
square
#255095 #952588 #956A25 #259532
split-complementary
#255095 #953225 #889525
monochromatic
#0D1B33 #193664 #255095 #316AC6 #5E8CD7

Accessibility & contrast

On white

7.89
#255095 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#255095 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #255095
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255095#FFFFFF#000000##FFFFFF
##2550951.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5798
Deuteranopia (green-blind)
#154D94
Tritanopia (blue-blind)
#00606B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #255095;
/* rgb */ color: rgb(37, 80, 149);
/* oklch */ color: oklch(43.9% 0.123 259.5);
Tailwind
colors: {
  custom: {
    50: '#6f80b5',
    500: '#255095',
    950: '#000000',
  },
}
SCSS
$custom: #255095;
$custom-light: #6f80b5;
$custom-dark: #000000;
JSON
{
  "hex": "#255095",
  "rgb": {
    "r": 37,
    "g": 80,
    "b": 149
  },
  "hsl": {
    "h": 216.964,
    "s": 60.215,
    "l": 36.471
  },
  "oklch": {
    "l": 0.43937,
    "c": 0.12313,
    "h": 259.5
  },
  "luminance": 0.08301
}

Semantic roles & 50–950 ramp

primary
#255095
secondary
#BC965A
accent
#A644E3
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #255095

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

Preview Lab → · Contrast checker → · Palette generator →

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