#255BB3#255BB3

#255BB3 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.6% C 0.151 H 259.8°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#255BB3
RGBrgb(37, 91, 179)
HSLhsl(217, 66%, 42%)
HSVhsv(217, 79%, 70%)
CMYKcmyk(79.3%, 49.2%, 0%, 29.8%)
CIE-LABlab(39.80, 14.70, -51.80)
CIE-LCHlch(39.80, 53.84, 285.84°)
OKLaboklab(48.57% -0.0267 -0.1489)
OKLCHoklch(48.57% 0.151 259.8)
XYZxyz(12.6378, 11.1287, 44.1211)
Luminance0.1113 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255BB3 #B37D25
analogous
#25A2B3 #255BB3 #3625B3
triadic
#255BB3 #B3255B #5BB325
tetradic
#255BB3 #B325A2 #B37D25 #25B336
square
#255BB3 #B325A2 #B37D25 #25B336
split-complementary
#255BB3 #B33625 #A2B325
monochromatic
#10274E #1B4180 #255BB3 #3E78D7 #719CE2

Accessibility & contrast

On white

6.51
#255BB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#255BB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #255BB3
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255BB3#FFFFFF#000000##FFFFFF
##255BB31.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2765B6
Deuteranopia (green-blind)
#0058B1
Tritanopia (blue-blind)
#00707E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #255bb3;
/* rgb */ color: rgb(37, 91, 179);
/* oklch */ color: oklch(48.6% 0.151 259.8);
Tailwind
colors: {
  custom: {
    50: '#7688ca',
    500: '#255bb3',
    950: '#000000',
  },
}
SCSS
$custom: #255bb3;
$custom-light: #7688ca;
$custom-dark: #000000;
JSON
{
  "hex": "#255bb3",
  "rgb": {
    "r": 37,
    "g": 91,
    "b": 179
  },
  "hsl": {
    "h": 217.183,
    "s": 65.741,
    "l": 42.353
  },
  "oklch": {
    "l": 0.48572,
    "c": 0.15133,
    "h": 259.8
  },
  "luminance": 0.1113
}

Semantic roles & 50–950 ramp

primary
#255BB3
secondary
#C8A56B
accent
#A83FE9
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #255BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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