#255CAB#255CAB

#255CAB is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.2% C 0.139 H 258.0°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#255CAB
RGBrgb(37, 92, 171)
HSLhsl(215, 64%, 41%)
HSVhsv(215, 78%, 67%)
CMYKcmyk(78.4%, 46.2%, 0%, 32.9%)
CIE-LABlab(39.56, 10.93, -47.46)
CIE-LCHlch(39.56, 48.71, 282.97°)
OKLaboklab(48.22% -0.0289 -0.1362)
OKLCHoklch(48.22% 0.139 258)
XYZxyz(11.9381, 10.9865, 40.0116)
Luminance0.1099 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255CAB #AB7425
analogous
#259FAB #255CAB #3125AB
triadic
#255CAB #AB255C #5CAB25
tetradic
#255CAB #AB259F #AB7425 #25AB31
square
#255CAB #AB259F #AB7425 #25AB31
split-complementary
#255CAB #AB3125 #9FAB25
monochromatic
#0F2646 #1A4179 #255CAB #3979D4 #6B9BDF

Accessibility & contrast

On white

6.57
#255CAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#255CAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #255CAB
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255CAB#FFFFFF#000000##FFFFFF
##255CAB1.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3264AE
Deuteranopia (green-blind)
#1258A9
Tritanopia (blue-blind)
#006F7B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #255cab;
/* rgb */ color: rgb(37, 92, 171);
/* oklch */ color: oklch(48.2% 0.139 258.0);
Tailwind
colors: {
  custom: {
    50: '#7489c4',
    500: '#255cab',
    950: '#000000',
  },
}
SCSS
$custom: #255cab;
$custom-light: #7489c4;
$custom-dark: #000000;
JSON
{
  "hex": "#255cab",
  "rgb": {
    "r": 37,
    "g": 92,
    "b": 171
  },
  "hsl": {
    "h": 215.373,
    "s": 64.423,
    "l": 40.784
  },
  "oklch": {
    "l": 0.48219,
    "c": 0.1392,
    "h": 258
  },
  "luminance": 0.10988
}

Semantic roles & 50–950 ramp

primary
#255CAB
secondary
#C59E67
accent
#A340E7
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#090B13
muted
#7B7C82

Preview Lab

Preview with #255CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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