#255DB1#255DB1

#255DB1 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 48.9% C 0.146 H 258.7°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#255DB1
RGBrgb(37, 93, 177)
HSLhsl(216, 65%, 42%)
HSVhsv(216, 79%, 69%)
CMYKcmyk(79.1%, 47.5%, 0%, 30.6%)
CIE-LABlab(40.24, 12.61, -49.91)
CIE-LCHlch(40.24, 51.48, 284.18°)
OKLaboklab(48.87% -0.0286 -0.1433)
OKLCHoklch(48.87% 0.146 258.7)
XYZxyz(12.6102, 11.3949, 43.1213)
Luminance0.1140 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255DB1 #B17925
analogous
#25A3B1 #255DB1 #3325B1
triadic
#255DB1 #B1255D #5DB125
tetradic
#255DB1 #B125A3 #B17925 #25B133
square
#255DB1 #B125A3 #B17925 #25B133
split-complementary
#255DB1 #B13325 #A3B125
monochromatic
#10284C #1A427E #255DB1 #3D7AD6 #6F9DE1

Accessibility & contrast

On white

6.40
#255DB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#255DB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #255DB1
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255DB1#FFFFFF#000000##FFFFFF
##255DB11.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F66B4
Deuteranopia (green-blind)
#0359AF
Tritanopia (blue-blind)
#00717E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #255db1;
/* rgb */ color: rgb(37, 93, 177);
/* oklch */ color: oklch(48.9% 0.146 258.7);
Tailwind
colors: {
  custom: {
    50: '#758ac9',
    500: '#255db1',
    950: '#000000',
  },
}
SCSS
$custom: #255db1;
$custom-light: #758ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#255db1",
  "rgb": {
    "r": 37,
    "g": 93,
    "b": 177
  },
  "hsl": {
    "h": 216,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.48869,
    "c": 0.14618,
    "h": 258.7
  },
  "luminance": 0.11396
}

Semantic roles & 50–950 ramp

primary
#255DB1
secondary
#C8A26A
accent
#A53FE8
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #255DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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