#255395#255395

#255395 is a dark, moderate blue. Relative luminance 0.087; OKLCH L 44.6% C 0.119 H 257.8°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#255395
RGBrgb(37, 83, 149)
HSLhsl(215, 60%, 36%)
HSVhsv(215, 75%, 58%)
CMYKcmyk(75.2%, 44.3%, 0%, 41.6%)
CIE-LABlab(35.50, 8.26, -40.82)
CIE-LCHlch(35.50, 41.64, 281.44°)
OKLaboklab(44.63% -0.0252 -0.1168)
OKLCHoklch(44.63% 0.119 257.8)
XYZxyz(9.2790, 8.7487, 29.6276)
Luminance0.0875 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255395 #956725
analogous
#258B95 #255395 #2F2595
triadic
#255395 #952553 #539525
tetradic
#255395 #95258B #956725 #25952F
square
#255395 #95258B #956725 #25952F
split-complementary
#255395 #952F25 #8B9525
monochromatic
#0D1C33 #193864 #255395 #316EC6 #5E8FD7

Accessibility & contrast

On white

7.64
#255395 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#255395 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #255395
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255395#FFFFFF#000000##FFFFFF
##2553951.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #255395;
/* rgb */ color: rgb(37, 83, 149);
/* oklch */ color: oklch(44.6% 0.119 257.8);
Tailwind
colors: {
  custom: {
    50: '#6f82b4',
    500: '#255395',
    950: '#000000',
  },
}
SCSS
$custom: #255395;
$custom-light: #6f82b4;
$custom-dark: #000000;
JSON
{
  "hex": "#255395",
  "rgb": {
    "r": 37,
    "g": 83,
    "b": 149
  },
  "hsl": {
    "h": 215.357,
    "s": 60.215,
    "l": 36.471
  },
  "oklch": {
    "l": 0.4463,
    "c": 0.11948,
    "h": 257.8
  },
  "luminance": 0.0875
}

Semantic roles & 50–950 ramp

primary
#255395
secondary
#BC945A
accent
#A244E3
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #255395

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

Preview Lab → · Contrast checker → · Palette generator →

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