#255FB1#255FB1

#255FB1 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.3% C 0.144 H 257.8°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#255FB1
RGBrgb(37, 95, 177)
HSLhsl(215, 65%, 42%)
HSVhsv(215, 79%, 69%)
CMYKcmyk(79.1%, 46.3%, 0%, 30.6%)
CIE-LABlab(40.82, 11.31, -48.98)
CIE-LCHlch(40.82, 50.27, 283.00°)
OKLaboklab(49.32% -0.0303 -0.1406)
OKLCHoklch(49.32% 0.144 257.8)
XYZxyz(12.7881, 11.7505, 43.1805)
Luminance0.1175 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255FB1 #B17725
analogous
#25A5B1 #255FB1 #3125B1
triadic
#255FB1 #B1255F #5FB125
tetradic
#255FB1 #B125A5 #B17725 #25B131
square
#255FB1 #B125A5 #B17725 #25B131
split-complementary
#255FB1 #B13125 #A5B125
monochromatic
#10294C #1A447E #255FB1 #3D7CD6 #6F9EE1

Accessibility & contrast

On white

6.27
#255FB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#255FB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #255FB1
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255FB1#FFFFFF#000000##FFFFFF
##255FB11.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3367B4
Deuteranopia (green-blind)
#105AAF
Tritanopia (blue-blind)
#00737F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #255fb1;
/* rgb */ color: rgb(37, 95, 177);
/* oklch */ color: oklch(49.3% 0.144 257.8);
Tailwind
colors: {
  custom: {
    50: '#758bc9',
    500: '#255fb1',
    950: '#000000',
  },
}
SCSS
$custom: #255fb1;
$custom-light: #758bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#255fb1",
  "rgb": {
    "r": 37,
    "g": 95,
    "b": 177
  },
  "hsl": {
    "h": 215.143,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.49315,
    "c": 0.14379,
    "h": 257.8
  },
  "luminance": 0.11752
}

Semantic roles & 50–950 ramp

primary
#255FB1
secondary
#C8A16A
accent
#A23FE8
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #255FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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