#255AA8#255AA8

#255AA8 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 47.6% C 0.137 H 258.4°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#255AA8
RGBrgb(37, 90, 168)
HSLhsl(216, 64%, 40%)
HSVhsv(216, 78%, 66%)
CMYKcmyk(78%, 46.4%, 0%, 34.1%)
CIE-LABlab(38.78, 11.07, -46.94)
CIE-LCHlch(38.78, 48.22, 283.27°)
OKLaboklab(47.56% -0.0277 -0.1347)
OKLCHoklch(47.56% 0.137 258.4)
XYZxyz(11.4844, 10.5315, 38.4657)
Luminance0.1053 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255AA8 #A87325
analogous
#259BA8 #255AA8 #3125A8
triadic
#255AA8 #A8255A #5AA825
tetradic
#255AA8 #A8259B #A87325 #25A831
square
#255AA8 #A8259B #A87325 #25A831
split-complementary
#255AA8 #A83125 #9BA825
monochromatic
#0F2444 #1A3F76 #255AA8 #3776D3 #6999DE

Accessibility & contrast

On white

6.76
#255AA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#255AA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #255AA8
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255AA8#FFFFFF#000000##FFFFFF
##255AA81.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3162AB
Deuteranopia (green-blind)
#1156A6
Tritanopia (blue-blind)
#006D79
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #255aa8;
/* rgb */ color: rgb(37, 90, 168);
/* oklch */ color: oklch(47.6% 0.137 258.4);
Tailwind
colors: {
  custom: {
    50: '#7388c2',
    500: '#255aa8',
    950: '#000000',
  },
}
SCSS
$custom: #255aa8;
$custom-light: #7388c2;
$custom-dark: #000000;
JSON
{
  "hex": "#255aa8",
  "rgb": {
    "r": 37,
    "g": 90,
    "b": 168
  },
  "hsl": {
    "h": 215.725,
    "s": 63.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.47557,
    "c": 0.13749,
    "h": 258.4
  },
  "luminance": 0.10533
}

Semantic roles & 50–950 ramp

primary
#255AA8
secondary
#C49D65
accent
#A441E7
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #255AA8

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

Preview Lab → · Contrast checker → · Palette generator →

#255AA8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva