#255AA5#255AA5

#255AA5 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.3% C 0.133 H 257.7°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#255AA5
RGBrgb(37, 90, 165)
HSLhsl(215, 63%, 40%)
HSVhsv(215, 78%, 65%)
CMYKcmyk(77.6%, 45.5%, 0%, 35.3%)
CIE-LABlab(38.59, 9.90, -45.46)
CIE-LCHlch(38.59, 46.53, 282.28°)
OKLaboklab(47.35% -0.0283 -0.1303)
OKLCHoklch(47.35% 0.133 257.7)
XYZxyz(11.2082, 10.4210, 37.0108)
Luminance0.1042 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255AA5 #A57025
analogous
#259AA5 #255AA5 #3025A5
triadic
#255AA5 #A5255A #5AA525
tetradic
#255AA5 #A5259A #A57025 #25A530
square
#255AA5 #A5259A #A57025 #25A530
split-complementary
#255AA5 #A53025 #9AA525
monochromatic
#0F2341 #1A3F73 #255AA5 #3576D2 #6798DD

Accessibility & contrast

On white

6.81
#255AA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#255AA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #255AA5
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255AA5#FFFFFF#000000##FFFFFF
##255AA51.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3361A8
Deuteranopia (green-blind)
#1855A3
Tritanopia (blue-blind)
#006C77
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #255aa5;
/* rgb */ color: rgb(37, 90, 165);
/* oklch */ color: oklch(47.3% 0.133 257.7);
Tailwind
colors: {
  custom: {
    50: '#7388c0',
    500: '#255aa5',
    950: '#000000',
  },
}
SCSS
$custom: #255aa5;
$custom-light: #7388c0;
$custom-dark: #000000;
JSON
{
  "hex": "#255aa5",
  "rgb": {
    "r": 37,
    "g": 90,
    "b": 165
  },
  "hsl": {
    "h": 215.156,
    "s": 63.366,
    "l": 39.608
  },
  "oklch": {
    "l": 0.47347,
    "c": 0.13336,
    "h": 257.7
  },
  "luminance": 0.10422
}

Semantic roles & 50–950 ramp

primary
#255AA5
secondary
#C39B63
accent
#A241E6
background
#F7F8FB
surface
#EDEFF7
border
#C8CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #255AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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