#255397#255397

#255397 is a dark, vivid blue. Relative luminance 0.088; OKLCH L 44.8% C 0.122 H 258.3°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#255397
RGBrgb(37, 83, 151)
HSLhsl(216, 61%, 37%)
HSVhsv(216, 75%, 59%)
CMYKcmyk(75.5%, 45%, 0%, 40.8%)
CIE-LABlab(35.62, 9.04, -41.82)
CIE-LCHlch(35.62, 42.79, 282.20°)
OKLaboklab(44.77% -0.0248 -0.1197)
OKLCHoklch(44.77% 0.122 258.3)
XYZxyz(9.4401, 8.8131, 30.4757)
Luminance0.0881 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255397 #976925
analogous
#258C97 #255397 #302597
triadic
#255397 #972553 #539725
tetradic
#255397 #97258C #976925 #259730
square
#255397 #97258C #976925 #259730
split-complementary
#255397 #973025 #8C9725
monochromatic
#0D1D35 #193866 #255397 #316EC8 #5F90D8

Accessibility & contrast

On white

7.60
#255397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#255397 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #255397
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255397#FFFFFF#000000##FFFFFF
##2553971.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31599A
Deuteranopia (green-blind)
#1B4F96
Tritanopia (blue-blind)
#00636D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #255397;
/* rgb */ color: rgb(37, 83, 151);
/* oklch */ color: oklch(44.8% 0.122 258.3);
Tailwind
colors: {
  custom: {
    50: '#7082b6',
    500: '#255397',
    950: '#000000',
  },
}
SCSS
$custom: #255397;
$custom-light: #7082b6;
$custom-dark: #000000;
JSON
{
  "hex": "#255397",
  "rgb": {
    "r": 37,
    "g": 83,
    "b": 151
  },
  "hsl": {
    "h": 215.789,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.44768,
    "c": 0.12229,
    "h": 258.3
  },
  "luminance": 0.08814
}

Semantic roles & 50–950 ramp

primary
#255397
secondary
#BD955B
accent
#A344E4
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #255397

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

Preview Lab → · Contrast checker → · Palette generator →

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