#255CB7#255CB7

#255CB7 is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.1% C 0.156 H 260.0°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#255CB7
RGBrgb(37, 92, 183)
HSLhsl(217, 66%, 43%)
HSVhsv(217, 80%, 72%)
CMYKcmyk(79.8%, 49.7%, 0%, 28.2%)
CIE-LABlab(40.35, 15.60, -53.25)
CIE-LCHlch(40.35, 55.49, 286.33°)
OKLaboklab(49.09% -0.0269 -0.1532)
OKLCHoklch(49.09% 0.156 260)
XYZxyz(13.1342, 11.4649, 46.3113)
Luminance0.1147 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255CB7 #B78025
analogous
#25A5B7 #255CB7 #3725B7
triadic
#255CB7 #B7255C #5CB725
tetradic
#255CB7 #B725A5 #B78025 #25B737
square
#255CB7 #B725A5 #B78025 #25B737
split-complementary
#255CB7 #B73725 #A5B725
monochromatic
#102951 #1B4284 #255CB7 #417AD9 #749DE3

Accessibility & contrast

On white

6.38
#255CB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#255CB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #255CB7
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255CB7#FFFFFF#000000##FFFFFF
##255CB71.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2566BA
Deuteranopia (green-blind)
#0059B5
Tritanopia (blue-blind)
#007281
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #255cb7;
/* rgb */ color: rgb(37, 92, 183);
/* oklch */ color: oklch(49.1% 0.156 260.0);
Tailwind
colors: {
  custom: {
    50: '#7789cd',
    500: '#255cb7',
    950: '#000000',
  },
}
SCSS
$custom: #255cb7;
$custom-light: #7789cd;
$custom-dark: #000000;
JSON
{
  "hex": "#255cb7",
  "rgb": {
    "r": 37,
    "g": 92,
    "b": 183
  },
  "hsl": {
    "h": 217.397,
    "s": 66.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.49085,
    "c": 0.15554,
    "h": 260
  },
  "luminance": 0.11467
}

Semantic roles & 50–950 ramp

primary
#255CB7
secondary
#CAA76E
accent
#A93FE9
background
#F7F8FC
surface
#EEF0F9
border
#C9CBD2
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #255CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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