#255299#255299

#255299 is a dark, vivid blue. Relative luminance 0.087; OKLCH L 44.7% C 0.126 H 259.3°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#255299
RGBrgb(37, 82, 153)
HSLhsl(217, 61%, 37%)
HSVhsv(217, 76%, 60%)
CMYKcmyk(75.8%, 46.4%, 0%, 40%)
CIE-LABlab(35.45, 10.49, -43.30)
CIE-LCHlch(35.45, 44.55, 283.62°)
OKLaboklab(44.68% -0.0235 -0.1241)
OKLCHoklch(44.68% 0.126 259.3)
XYZxyz(9.5279, 8.7267, 31.3131)
Luminance0.0873 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255299 #996C25
analogous
#258C99 #255299 #322599
triadic
#255299 #992552 #529925
tetradic
#255299 #99258C #996C25 #259932
square
#255299 #99258C #996C25 #259932
split-complementary
#255299 #993225 #8C9925
monochromatic
#0D1D36 #193868 #255299 #316CCA #608FD9

Accessibility & contrast

On white

7.65
#255299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #255299
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255299#FFFFFF#000000##FFFFFF
##2552991.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D599C
Deuteranopia (green-blind)
#144E98
Tritanopia (blue-blind)
#00636E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #255299;
/* rgb */ color: rgb(37, 82, 153);
/* oklch */ color: oklch(44.7% 0.126 259.3);
Tailwind
colors: {
  custom: {
    50: '#7082b7',
    500: '#255299',
    950: '#000000',
  },
}
SCSS
$custom: #255299;
$custom-light: #7082b7;
$custom-dark: #000000;
JSON
{
  "hex": "#255299",
  "rgb": {
    "r": 37,
    "g": 82,
    "b": 153
  },
  "hsl": {
    "h": 216.724,
    "s": 61.053,
    "l": 37.255
  },
  "oklch": {
    "l": 0.44679,
    "c": 0.12633,
    "h": 259.3
  },
  "luminance": 0.08728
}

Semantic roles & 50–950 ramp

primary
#255299
secondary
#BE985C
accent
#A644E4
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #255299

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

Preview Lab → · Contrast checker → · Palette generator →

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