#255498#255498

#255498 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.1% C 0.122 H 258.0°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#255498
RGBrgb(37, 84, 152)
HSLhsl(215, 61%, 37%)
HSVhsv(215, 76%, 60%)
CMYKcmyk(75.7%, 44.7%, 0%, 40.4%)
CIE-LABlab(35.98, 8.77, -41.85)
CIE-LCHlch(35.98, 42.76, 281.84°)
OKLaboklab(45.07% -0.0255 -0.1198)
OKLCHoklch(45.07% 0.122 258)
XYZxyz(9.5987, 8.9999, 30.9309)
Luminance0.0900 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255498 #986925
analogous
#258E98 #255498 #2F2598
triadic
#255498 #982554 #549825
tetradic
#255498 #98258E #986925 #25982F
square
#255498 #98258E #986925 #25982F
split-complementary
#255498 #982F25 #8E9825
monochromatic
#0D1E36 #193967 #255498 #316FC9 #5F91D8

Accessibility & contrast

On white

7.50
#255498 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#255498 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #255498
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255498#FFFFFF#000000##FFFFFF
##2554981.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325A9B
Deuteranopia (green-blind)
#1C5097
Tritanopia (blue-blind)
#00646E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #255498;
/* rgb */ color: rgb(37, 84, 152);
/* oklch */ color: oklch(45.1% 0.122 258.0);
Tailwind
colors: {
  custom: {
    50: '#7083b7',
    500: '#255498',
    950: '#000000',
  },
}
SCSS
$custom: #255498;
$custom-light: #7083b7;
$custom-dark: #000000;
JSON
{
  "hex": "#255498",
  "rgb": {
    "r": 37,
    "g": 84,
    "b": 152
  },
  "hsl": {
    "h": 215.478,
    "s": 60.847,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45068,
    "c": 0.12249,
    "h": 258
  },
  "luminance": 0.09001
}

Semantic roles & 50–950 ramp

primary
#255498
secondary
#BD955C
accent
#A344E4
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #255498

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

Preview Lab → · Contrast checker → · Palette generator →

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