#255295#255295

#255295 is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.4% C 0.121 H 258.4°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#255295
RGBrgb(37, 82, 149)
HSLhsl(216, 60%, 36%)
HSVhsv(216, 75%, 58%)
CMYKcmyk(75.2%, 45%, 0%, 41.6%)
CIE-LABlab(35.20, 8.93, -41.30)
CIE-LCHlch(35.20, 42.25, 282.20°)
OKLaboklab(44.4% -0.0243 -0.1182)
OKLCHoklch(44.4% 0.121 258.4)
XYZxyz(9.2031, 8.5968, 29.6023)
Luminance0.0860 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255295 #956825
analogous
#258A95 #255295 #302595
triadic
#255295 #952552 #529525
tetradic
#255295 #95258A #956825 #259530
square
#255295 #95258A #956825 #259530
split-complementary
#255295 #953025 #8A9525
monochromatic
#0D1C33 #193764 #255295 #316DC6 #5E8ED7

Accessibility & contrast

On white

7.72
#255295 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#255295 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #255295
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255295#FFFFFF#000000##FFFFFF
##2552951.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305898
Deuteranopia (green-blind)
#1B4E94
Tritanopia (blue-blind)
#00626C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #255295;
/* rgb */ color: rgb(37, 82, 149);
/* oklch */ color: oklch(44.4% 0.121 258.4);
Tailwind
colors: {
  custom: {
    50: '#6f82b4',
    500: '#255295',
    950: '#000000',
  },
}
SCSS
$custom: #255295;
$custom-light: #6f82b4;
$custom-dark: #000000;
JSON
{
  "hex": "#255295",
  "rgb": {
    "r": 37,
    "g": 82,
    "b": 149
  },
  "hsl": {
    "h": 215.893,
    "s": 60.215,
    "l": 36.471
  },
  "oklch": {
    "l": 0.44398,
    "c": 0.12069,
    "h": 258.4
  },
  "luminance": 0.08598
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #255295

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

Preview Lab → · Contrast checker → · Palette generator →

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