#255AB1#255AB1

#255AB1 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.2% C 0.150 H 259.9°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#255AB1
RGBrgb(37, 90, 177)
HSLhsl(217, 65%, 42%)
HSVhsv(217, 79%, 69%)
CMYKcmyk(79.1%, 49.2%, 0%, 30.6%)
CIE-LABlab(39.38, 14.58, -51.30)
CIE-LCHlch(39.38, 53.33, 285.86°)
OKLaboklab(48.21% -0.0262 -0.1475)
OKLCHoklch(48.21% 0.15 259.9)
XYZxyz(12.3520, 10.8785, 43.0352)
Luminance0.1088 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255AB1 #B17C25
analogous
#25A0B1 #255AB1 #3625B1
triadic
#255AB1 #B1255A #5AB125
tetradic
#255AB1 #B125A0 #B17C25 #25B136
square
#255AB1 #B125A0 #B17C25 #25B136
split-complementary
#255AB1 #B13625 #A0B125
monochromatic
#10274C #1A407E #255AB1 #3D77D6 #6F9AE1

Accessibility & contrast

On white

6.61
#255AB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#255AB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #255AB1
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255AB1#FFFFFF#000000##FFFFFF
##255AB11.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2764B4
Deuteranopia (green-blind)
#0057AF
Tritanopia (blue-blind)
#006F7D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #255ab1;
/* rgb */ color: rgb(37, 90, 177);
/* oklch */ color: oklch(48.2% 0.150 259.9);
Tailwind
colors: {
  custom: {
    50: '#7588c9',
    500: '#255ab1',
    950: '#000000',
  },
}
SCSS
$custom: #255ab1;
$custom-light: #7588c9;
$custom-dark: #000000;
JSON
{
  "hex": "#255ab1",
  "rgb": {
    "r": 37,
    "g": 90,
    "b": 177
  },
  "hsl": {
    "h": 217.286,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.48206,
    "c": 0.14982,
    "h": 259.9
  },
  "luminance": 0.1088
}

Semantic roles & 50–950 ramp

primary
#255AB1
secondary
#C8A46A
accent
#A83FE8
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #255AB1

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

Preview Lab → · Contrast checker → · Palette generator →

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