#255098#255098

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

Color values

HEX#255098
RGBrgb(37, 80, 152)
HSLhsl(218, 61%, 37%)
HSVhsv(218, 76%, 60%)
CMYKcmyk(75.7%, 47.4%, 0%, 40.4%)
CIE-LABlab(34.80, 11.43, -43.75)
CIE-LCHlch(34.80, 45.22, 284.64°)
OKLaboklab(44.15% -0.0219 -0.1255)
OKLCHoklch(44.15% 0.127 260.1)
XYZxyz(9.2971, 8.3966, 30.8304)
Luminance0.0840 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255098 #986D25
analogous
#258A98 #255098 #332598
triadic
#255098 #982550 #509825
tetradic
#255098 #98258A #986D25 #259833
square
#255098 #98258A #986D25 #259833
split-complementary
#255098 #983325 #8A9825
monochromatic
#0D1C36 #193667 #255098 #316AC9 #5F8CD8

Accessibility & contrast

On white

7.84
#255098 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#255098 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #255098
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255098#FFFFFF#000000##FFFFFF
##2550981.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A579B
Deuteranopia (green-blind)
#0E4D97
Tritanopia (blue-blind)
#00616C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #255098;
/* rgb */ color: rgb(37, 80, 152);
/* oklch */ color: oklch(44.2% 0.127 260.1);
Tailwind
colors: {
  custom: {
    50: '#7080b7',
    500: '#255098',
    950: '#000000',
  },
}
SCSS
$custom: #255098;
$custom-light: #7080b7;
$custom-dark: #000000;
JSON
{
  "hex": "#255098",
  "rgb": {
    "r": 37,
    "g": 80,
    "b": 152
  },
  "hsl": {
    "h": 217.565,
    "s": 60.847,
    "l": 37.059
  },
  "oklch": {
    "l": 0.44152,
    "c": 0.12738,
    "h": 260.1
  },
  "luminance": 0.08398
}

Semantic roles & 50–950 ramp

primary
#255098
secondary
#BD995C
accent
#A844E4
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #255098

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

Preview Lab → · Contrast checker → · Palette generator →

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