#255BA7#255BA7

#255BA7 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 47.7% C 0.135 H 257.7°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#255BA7
RGBrgb(37, 91, 167)
HSLhsl(215, 64%, 40%)
HSVhsv(215, 78%, 65%)
CMYKcmyk(77.8%, 45.5%, 0%, 34.5%)
CIE-LABlab(39.01, 10.02, -45.97)
CIE-LCHlch(39.01, 47.05, 282.30°)
OKLaboklab(47.71% -0.0288 -0.1318)
OKLCHoklch(47.71% 0.135 257.7)
XYZxyz(11.4765, 10.6642, 38.0053)
Luminance0.1067 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255BA7 #A77125
analogous
#259CA7 #255BA7 #3025A7
triadic
#255BA7 #A7255B #5BA725
tetradic
#255BA7 #A7259C #A77125 #25A730
square
#255BA7 #A7259C #A77125 #25A730
split-complementary
#255BA7 #A73025 #9CA725
monochromatic
#0F2443 #1A4075 #255BA7 #3777D3 #6999DE

Accessibility & contrast

On white

6.70
#255BA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #255BA7
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255BA7#FFFFFF#000000##FFFFFF
##255BA71.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3462AA
Deuteranopia (green-blind)
#1756A5
Tritanopia (blue-blind)
#006D79
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #255ba7;
/* rgb */ color: rgb(37, 91, 167);
/* oklch */ color: oklch(47.7% 0.135 257.7);
Tailwind
colors: {
  custom: {
    50: '#7388c2',
    500: '#255ba7',
    950: '#000000',
  },
}
SCSS
$custom: #255ba7;
$custom-light: #7388c2;
$custom-dark: #000000;
JSON
{
  "hex": "#255ba7",
  "rgb": {
    "r": 37,
    "g": 91,
    "b": 167
  },
  "hsl": {
    "h": 215.077,
    "s": 63.725,
    "l": 40
  },
  "oklch": {
    "l": 0.47713,
    "c": 0.13491,
    "h": 257.7
  },
  "luminance": 0.10666
}

Semantic roles & 50–950 ramp

primary
#255BA7
secondary
#C49C64
accent
#A241E7
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #255BA7

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

Preview Lab → · Contrast checker → · Palette generator →

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