#255195#255195

#255195 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.2% C 0.122 H 259.0°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#255195
RGBrgb(37, 81, 149)
HSLhsl(216, 60%, 36%)
HSVhsv(216, 75%, 58%)
CMYKcmyk(75.2%, 45.6%, 0%, 41.6%)
CIE-LABlab(34.90, 9.59, -41.77)
CIE-LCHlch(34.90, 42.86, 282.93°)
OKLaboklab(44.17% -0.0233 -0.1196)
OKLCHoklch(44.17% 0.122 259)
XYZxyz(9.1282, 8.4471, 29.5773)
Luminance0.0845 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255195 #956925
analogous
#258995 #255195 #312595
triadic
#255195 #952551 #519525
tetradic
#255195 #952589 #956925 #259531
square
#255195 #952589 #956925 #259531
split-complementary
#255195 #953125 #899525
monochromatic
#0D1C33 #193664 #255195 #316CC6 #5E8DD7

Accessibility & contrast

On white

7.81
#255195 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#255195 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #255195
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255195#FFFFFF#000000##FFFFFF
##2551951.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5898
Deuteranopia (green-blind)
#184D94
Tritanopia (blue-blind)
#00616B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #255195;
/* rgb */ color: rgb(37, 81, 149);
/* oklch */ color: oklch(44.2% 0.122 259.0);
Tailwind
colors: {
  custom: {
    50: '#6f81b4',
    500: '#255195',
    950: '#000000',
  },
}
SCSS
$custom: #255195;
$custom-light: #6f81b4;
$custom-dark: #000000;
JSON
{
  "hex": "#255195",
  "rgb": {
    "r": 37,
    "g": 81,
    "b": 149
  },
  "hsl": {
    "h": 216.429,
    "s": 60.215,
    "l": 36.471
  },
  "oklch": {
    "l": 0.44167,
    "c": 0.12191,
    "h": 259
  },
  "luminance": 0.08448
}

Semantic roles & 50–950 ramp

primary
#255195
secondary
#BC955A
accent
#A544E3
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #255195

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

Preview Lab → · Contrast checker → · Palette generator →

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