#255297#255297

#255297 is a dark, vivid blue. Relative luminance 0.087; OKLCH L 44.5% C 0.124 H 258.9°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#255297
RGBrgb(37, 82, 151)
HSLhsl(216, 61%, 37%)
HSVhsv(216, 75%, 59%)
CMYKcmyk(75.5%, 45.7%, 0%, 40.8%)
CIE-LABlab(35.32, 9.71, -42.30)
CIE-LCHlch(35.32, 43.40, 282.92°)
OKLaboklab(44.54% -0.0239 -0.1212)
OKLCHoklch(44.54% 0.124 258.9)
XYZxyz(9.3641, 8.6612, 30.4504)
Luminance0.0866 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255297 #976A25
analogous
#258B97 #255297 #312597
triadic
#255297 #972552 #529725
tetradic
#255297 #97258B #976A25 #259731
square
#255297 #97258B #976A25 #259731
split-complementary
#255297 #973125 #8B9725
monochromatic
#0D1D35 #193766 #255297 #316DC8 #5F8ED8

Accessibility & contrast

On white

7.69
#255297 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#255297 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #255297
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255297#FFFFFF#000000##FFFFFF
##2552971.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F599A
Deuteranopia (green-blind)
#184E96
Tritanopia (blue-blind)
#00626D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #255297;
/* rgb */ color: rgb(37, 82, 151);
/* oklch */ color: oklch(44.5% 0.124 258.9);
Tailwind
colors: {
  custom: {
    50: '#7082b6',
    500: '#255297',
    950: '#000000',
  },
}
SCSS
$custom: #255297;
$custom-light: #7082b6;
$custom-dark: #000000;
JSON
{
  "hex": "#255297",
  "rgb": {
    "r": 37,
    "g": 82,
    "b": 151
  },
  "hsl": {
    "h": 216.316,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.44538,
    "c": 0.12351,
    "h": 258.9
  },
  "luminance": 0.08662
}

Semantic roles & 50–950 ramp

primary
#255297
secondary
#BD965B
accent
#A544E4
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #255297

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

Preview Lab → · Contrast checker → · Palette generator →

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