#255AAB#255AAB

#255AAB is a mid, vivid blue. Relative luminance 0.106; OKLCH L 47.8% C 0.142 H 258.9°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#255AAB
RGBrgb(37, 90, 171)
HSLhsl(216, 64%, 41%)
HSVhsv(216, 78%, 67%)
CMYKcmyk(78.4%, 47.4%, 0%, 32.9%)
CIE-LABlab(38.98, 12.24, -48.40)
CIE-LCHlch(38.98, 49.92, 284.19°)
OKLaboklab(47.77% -0.0272 -0.139)
OKLCHoklch(47.77% 0.142 258.9)
XYZxyz(11.7671, 10.6445, 39.9546)
Luminance0.1065 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255AAB #AB7625
analogous
#259DAB #255AAB #3325AB
triadic
#255AAB #AB255A #5AAB25
tetradic
#255AAB #AB259D #AB7625 #25AB33
square
#255AAB #AB259D #AB7625 #25AB33
split-complementary
#255AAB #AB3325 #9DAB25
monochromatic
#0F2546 #1A4079 #255AAB #3976D4 #6B99DF

Accessibility & contrast

On white

6.71
#255AAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#255AAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #255AAB
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255AAB#FFFFFF#000000##FFFFFF
##255AAB1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E62AE
Deuteranopia (green-blind)
#0656A9
Tritanopia (blue-blind)
#006D7A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #255aab;
/* rgb */ color: rgb(37, 90, 171);
/* oklch */ color: oklch(47.8% 0.142 258.9);
Tailwind
colors: {
  custom: {
    50: '#7488c4',
    500: '#255aab',
    950: '#000000',
  },
}
SCSS
$custom: #255aab;
$custom-light: #7488c4;
$custom-dark: #000000;
JSON
{
  "hex": "#255aab",
  "rgb": {
    "r": 37,
    "g": 90,
    "b": 171
  },
  "hsl": {
    "h": 216.269,
    "s": 64.423,
    "l": 40.784
  },
  "oklch": {
    "l": 0.4777,
    "c": 0.14161,
    "h": 258.9
  },
  "luminance": 0.10646
}

Semantic roles & 50–950 ramp

primary
#255AAB
secondary
#C5A067
accent
#A540E7
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#090B13
muted
#7B7C82

Preview Lab

Preview with #255AAB

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

Preview Lab → · Contrast checker → · Palette generator →

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