#255AA7#255AA7

#255AA7 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 47.5% C 0.136 H 258.2°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#255AA7
RGBrgb(37, 90, 167)
HSLhsl(216, 64%, 40%)
HSVhsv(216, 78%, 65%)
CMYKcmyk(77.8%, 46.1%, 0%, 34.5%)
CIE-LABlab(38.72, 10.68, -46.45)
CIE-LCHlch(38.72, 47.66, 282.95°)
OKLaboklab(47.49% -0.0279 -0.1332)
OKLCHoklch(47.49% 0.136 258.2)
XYZxyz(11.3916, 10.4943, 37.9770)
Luminance0.1050 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255AA7 #A77225
analogous
#259BA7 #255AA7 #3125A7
triadic
#255AA7 #A7255A #5AA725
tetradic
#255AA7 #A7259B #A77225 #25A731
square
#255AA7 #A7259B #A77225 #25A731
split-complementary
#255AA7 #A73125 #9BA725
monochromatic
#0F2443 #1A3F75 #255AA7 #3776D3 #6998DE

Accessibility & contrast

On white

6.78
#255AA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#255AA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #255AA7
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255AA7#FFFFFF#000000##FFFFFF
##255AA71.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3162AA
Deuteranopia (green-blind)
#1356A5
Tritanopia (blue-blind)
#006C78
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #255aa7;
/* rgb */ color: rgb(37, 90, 167);
/* oklch */ color: oklch(47.5% 0.136 258.2);
Tailwind
colors: {
  custom: {
    50: '#7388c2',
    500: '#255aa7',
    950: '#000000',
  },
}
SCSS
$custom: #255aa7;
$custom-light: #7388c2;
$custom-dark: #000000;
JSON
{
  "hex": "#255aa7",
  "rgb": {
    "r": 37,
    "g": 90,
    "b": 167
  },
  "hsl": {
    "h": 215.538,
    "s": 63.725,
    "l": 40
  },
  "oklch": {
    "l": 0.47487,
    "c": 0.13611,
    "h": 258.2
  },
  "luminance": 0.10496
}

Semantic roles & 50–950 ramp

primary
#255AA7
secondary
#C49D64
accent
#A341E7
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #255AA7

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

Preview Lab → · Contrast checker → · Palette generator →

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