#255AC6#255AC6

#255AC6 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.8% C 0.178 H 262.3°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#255AC6
RGBrgb(37, 90, 198)
HSLhsl(220, 69%, 46%)
HSVhsv(220, 81%, 78%)
CMYKcmyk(81.3%, 54.5%, 0%, 22.4%)
CIE-LABlab(40.87, 22.72, -61.16)
CIE-LCHlch(40.87, 65.24, 290.38°)
OKLaboklab(49.82% -0.0238 -0.1765)
OKLCHoklch(49.82% 0.178 262.3)
XYZxyz(14.6085, 11.7811, 54.9192)
Luminance0.1178 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255AC6 #C69125
analogous
#25AAC6 #255AC6 #4025C6
triadic
#255AC6 #C6255A #5AC625
tetradic
#255AC6 #C625AA #C69125 #25C640
square
#255AC6 #C625AA #C69125 #25C640
split-complementary
#255AC6 #C64025 #AAC625
monochromatic
#122B5F #1B4392 #255AC6 #4B7BDD #7EA1E7

Accessibility & contrast

On white

6.26
#255AC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#255AC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #255AC6
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255AC6#FFFFFF#000000##FFFFFF
##255AC61.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CA
Deuteranopia (green-blind)
#0059C4
Tritanopia (blue-blind)
#007587
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #255ac6;
/* rgb */ color: rgb(37, 90, 198);
/* oklch */ color: oklch(49.8% 0.178 262.3);
Tailwind
colors: {
  custom: {
    50: '#7a88d8',
    500: '#255ac6',
    950: '#000000',
  },
}
SCSS
$custom: #255ac6;
$custom-light: #7a88d8;
$custom-dark: #000000;
JSON
{
  "hex": "#255ac6",
  "rgb": {
    "r": 37,
    "g": 90,
    "b": 198
  },
  "hsl": {
    "h": 220.248,
    "s": 68.511,
    "l": 46.078
  },
  "oklch": {
    "l": 0.49815,
    "c": 0.17809,
    "h": 262.3
  },
  "luminance": 0.11783
}

Semantic roles & 50–950 ramp

primary
#255AC6
secondary
#CFB277
accent
#B23CEB
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B15
muted
#7C7C83

Preview Lab

Preview with #255AC6

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

Preview Lab → · Contrast checker → · Palette generator →

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