#255AA6#255AA6

#255AA6 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 47.4% C 0.135 H 258.0°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#255AA6
RGBrgb(37, 90, 166)
HSLhsl(215, 64%, 40%)
HSVhsv(215, 78%, 65%)
CMYKcmyk(77.7%, 45.8%, 0%, 34.9%)
CIE-LABlab(38.65, 10.29, -45.95)
CIE-LCHlch(38.65, 47.09, 282.62°)
OKLaboklab(47.42% -0.0281 -0.1318)
OKLCHoklch(47.42% 0.135 258)
XYZxyz(11.2995, 10.4575, 37.4920)
Luminance0.1046 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255AA6 #A67125
analogous
#259BA6 #255AA6 #3125A6
triadic
#255AA6 #A6255A #5AA625
tetradic
#255AA6 #A6259B #A67125 #25A631
square
#255AA6 #A6259B #A67125 #25A631
split-complementary
#255AA6 #A63125 #9BA625
monochromatic
#0F2442 #1A3F74 #255AA6 #3676D2 #6898DD

Accessibility & contrast

On white

6.79
#255AA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#255AA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #255AA6
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255AA6#FFFFFF#000000##FFFFFF
##255AA61.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3261A9
Deuteranopia (green-blind)
#1656A4
Tritanopia (blue-blind)
#006C78
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #255aa6;
/* rgb */ color: rgb(37, 90, 166);
/* oklch */ color: oklch(47.4% 0.135 258.0);
Tailwind
colors: {
  custom: {
    50: '#7388c1',
    500: '#255aa6',
    950: '#000000',
  },
}
SCSS
$custom: #255aa6;
$custom-light: #7388c1;
$custom-dark: #000000;
JSON
{
  "hex": "#255aa6",
  "rgb": {
    "r": 37,
    "g": 90,
    "b": 166
  },
  "hsl": {
    "h": 215.349,
    "s": 63.547,
    "l": 39.804
  },
  "oklch": {
    "l": 0.47416,
    "c": 0.13473,
    "h": 258
  },
  "luminance": 0.10459
}

Semantic roles & 50–950 ramp

primary
#255AA6
secondary
#C39C64
accent
#A341E7
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #255AA6

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

Preview Lab → · Contrast checker → · Palette generator →

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