#255099#255099

#255099 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.2% C 0.129 H 260.3°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#255099
RGBrgb(37, 80, 153)
HSLhsl(218, 61%, 37%)
HSVhsv(218, 76%, 60%)
CMYKcmyk(75.8%, 47.7%, 0%, 40%)
CIE-LABlab(34.86, 11.82, -44.25)
CIE-LCHlch(34.86, 45.80, 284.96°)
OKLaboklab(44.22% -0.0217 -0.1269)
OKLCHoklch(44.22% 0.129 260.3)
XYZxyz(9.3793, 8.4295, 31.2636)
Luminance0.0843 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255099 #996E25
analogous
#258A99 #255099 #342599
triadic
#255099 #992550 #509925
tetradic
#255099 #99258A #996E25 #259934
square
#255099 #99258A #996E25 #259934
split-complementary
#255099 #993425 #8A9925
monochromatic
#0D1C36 #193668 #255099 #316ACA #608DD9

Accessibility & contrast

On white

7.82
#255099 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#255099 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #255099
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255099#FFFFFF#000000##FFFFFF
##2550991.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29589C
Deuteranopia (green-blind)
#0B4D98
Tritanopia (blue-blind)
#00616D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #255099;
/* rgb */ color: rgb(37, 80, 153);
/* oklch */ color: oklch(44.2% 0.129 260.3);
Tailwind
colors: {
  custom: {
    50: '#7080b7',
    500: '#255099',
    950: '#000000',
  },
}
SCSS
$custom: #255099;
$custom-light: #7080b7;
$custom-dark: #000000;
JSON
{
  "hex": "#255099",
  "rgb": {
    "r": 37,
    "g": 80,
    "b": 153
  },
  "hsl": {
    "h": 217.759,
    "s": 61.053,
    "l": 37.255
  },
  "oklch": {
    "l": 0.44224,
    "c": 0.12879,
    "h": 260.3
  },
  "luminance": 0.08431
}

Semantic roles & 50–950 ramp

primary
#255099
secondary
#BE9A5C
accent
#A944E4
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #255099

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

Preview Lab → · Contrast checker → · Palette generator →

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