#255CAC#255CAC

#255CAC is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.3% C 0.141 H 258.2°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#255CAC
RGBrgb(37, 92, 172)
HSLhsl(216, 65%, 41%)
HSVhsv(216, 78%, 67%)
CMYKcmyk(78.5%, 46.5%, 0%, 32.5%)
CIE-LABlab(39.62, 11.32, -47.95)
CIE-LCHlch(39.62, 49.27, 283.28°)
OKLaboklab(48.29% -0.0287 -0.1376)
OKLCHoklch(48.29% 0.141 258.2)
XYZxyz(12.0338, 11.0248, 40.5155)
Luminance0.1103 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255CAC #AC7525
analogous
#259FAC #255CAC #3225AC
triadic
#255CAC #AC255C #5CAC25
tetradic
#255CAC #AC259F #AC7525 #25AC32
square
#255CAC #AC259F #AC7525 #25AC32
split-complementary
#255CAC #AC3225 #9FAC25
monochromatic
#0F2647 #1A417A #255CAC #3A79D5 #6C9BDF

Accessibility & contrast

On white

6.55
#255CAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#255CAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #255CAC
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255CAC#FFFFFF#000000##FFFFFF
##255CAC1.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3164AF
Deuteranopia (green-blind)
#0F58AA
Tritanopia (blue-blind)
#006F7B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #255cac;
/* rgb */ color: rgb(37, 92, 172);
/* oklch */ color: oklch(48.3% 0.141 258.2);
Tailwind
colors: {
  custom: {
    50: '#7489c5',
    500: '#255cac',
    950: '#000000',
  },
}
SCSS
$custom: #255cac;
$custom-light: #7489c5;
$custom-dark: #000000;
JSON
{
  "hex": "#255cac",
  "rgb": {
    "r": 37,
    "g": 92,
    "b": 172
  },
  "hsl": {
    "h": 215.556,
    "s": 64.593,
    "l": 40.98
  },
  "oklch": {
    "l": 0.4829,
    "c": 0.14057,
    "h": 258.2
  },
  "luminance": 0.11026
}

Semantic roles & 50–950 ramp

primary
#255CAC
secondary
#C69F67
accent
#A340E8
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #255CAC

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

Preview Lab → · Contrast checker → · Palette generator →

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