#255AB3#255AB3

#255AB3 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.4% C 0.153 H 260.2°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#255AB3
RGBrgb(37, 90, 179)
HSLhsl(218, 66%, 42%)
HSVhsv(218, 79%, 70%)
CMYKcmyk(79.3%, 49.7%, 0%, 29.8%)
CIE-LABlab(39.51, 15.36, -52.26)
CIE-LCHlch(39.51, 54.47, 286.37°)
OKLaboklab(48.35% -0.026 -0.1503)
OKLCHoklch(48.35% 0.153 260.2)
XYZxyz(12.5528, 10.9588, 44.0928)
Luminance0.1096 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255AB3 #B37E25
analogous
#25A1B3 #255AB3 #3725B3
triadic
#255AB3 #B3255A #5AB325
tetradic
#255AB3 #B325A1 #B37E25 #25B337
square
#255AB3 #B325A1 #B37E25 #25B337
split-complementary
#255AB3 #B33725 #A1B325
monochromatic
#10274E #1B4080 #255AB3 #3E77D7 #719BE2

Accessibility & contrast

On white

6.58
#255AB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#255AB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #255AB3
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255AB3#FFFFFF#000000##FFFFFF
##255AB31.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2564B6
Deuteranopia (green-blind)
#0057B1
Tritanopia (blue-blind)
#006F7E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #255ab3;
/* rgb */ color: rgb(37, 90, 179);
/* oklch */ color: oklch(48.4% 0.153 260.2);
Tailwind
colors: {
  custom: {
    50: '#7688ca',
    500: '#255ab3',
    950: '#000000',
  },
}
SCSS
$custom: #255ab3;
$custom-light: #7688ca;
$custom-dark: #000000;
JSON
{
  "hex": "#255ab3",
  "rgb": {
    "r": 37,
    "g": 90,
    "b": 179
  },
  "hsl": {
    "h": 217.606,
    "s": 65.741,
    "l": 42.353
  },
  "oklch": {
    "l": 0.48353,
    "c": 0.15255,
    "h": 260.2
  },
  "luminance": 0.1096
}

Semantic roles & 50–950 ramp

primary
#255AB3
secondary
#C8A66B
accent
#A93FE9
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #255AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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