#255398#255398

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

Color values

HEX#255398
RGBrgb(37, 83, 152)
HSLhsl(216, 61%, 37%)
HSVhsv(216, 76%, 60%)
CMYKcmyk(75.7%, 45.4%, 0%, 40.4%)
CIE-LABlab(35.69, 9.43, -42.32)
CIE-LCHlch(35.69, 43.36, 282.57°)
OKLaboklab(44.84% -0.0246 -0.1212)
OKLCHoklch(44.84% 0.124 258.5)
XYZxyz(9.5216, 8.8458, 30.9053)
Luminance0.0885 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255398 #986A25
analogous
#258D98 #255398 #302598
triadic
#255398 #982553 #539825
tetradic
#255398 #98258D #986A25 #259830
square
#255398 #98258D #986A25 #259830
split-complementary
#255398 #983025 #8D9825
monochromatic
#0D1D36 #193867 #255398 #316EC9 #5F90D8

Accessibility & contrast

On white

7.58
#255398 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#255398 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #255398
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255398#FFFFFF#000000##FFFFFF
##2553981.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305A9B
Deuteranopia (green-blind)
#194F97
Tritanopia (blue-blind)
#00636E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #255398;
/* rgb */ color: rgb(37, 83, 152);
/* oklch */ color: oklch(44.8% 0.124 258.5);
Tailwind
colors: {
  custom: {
    50: '#7082b7',
    500: '#255398',
    950: '#000000',
  },
}
SCSS
$custom: #255398;
$custom-light: #7082b7;
$custom-dark: #000000;
JSON
{
  "hex": "#255398",
  "rgb": {
    "r": 37,
    "g": 83,
    "b": 152
  },
  "hsl": {
    "h": 216,
    "s": 60.847,
    "l": 37.059
  },
  "oklch": {
    "l": 0.44838,
    "c": 0.1237,
    "h": 258.5
  },
  "luminance": 0.08847
}

Semantic roles & 50–950 ramp

primary
#255398
secondary
#BD965C
accent
#A444E4
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #255398

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

Preview Lab → · Contrast checker → · Palette generator →

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