#255AA2#255AA2

#255AA2 is a mid, vivid cyan. Relative luminance 0.103; OKLCH L 47.1% C 0.129 H 257.1°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#255AA2
RGBrgb(37, 90, 162)
HSLhsl(215, 63%, 39%)
HSVhsv(215, 77%, 64%)
CMYKcmyk(77.2%, 44.4%, 0%, 36.5%)
CIE-LABlab(38.40, 8.73, -43.98)
CIE-LCHlch(38.40, 44.84, 281.23°)
OKLaboklab(47.14% -0.0289 -0.126)
OKLCHoklch(47.14% 0.129 257.1)
XYZxyz(10.9383, 10.3130, 35.5895)
Luminance0.1031 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255AA2 #A26D25
analogous
#2599A2 #255AA2 #2F25A2
triadic
#255AA2 #A2255A #5AA225
tetradic
#255AA2 #A22599 #A26D25 #25A22F
square
#255AA2 #A22599 #A26D25 #25A22F
split-complementary
#255AA2 #A22F25 #99A225
monochromatic
#0E233E #1A3E70 #255AA2 #3476D1 #6598DC

Accessibility & contrast

On white

6.86
#255AA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#255AA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #255AA2
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255AA2#FFFFFF#000000##FFFFFF
##255AA21.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3661A5
Deuteranopia (green-blind)
#1D55A1
Tritanopia (blue-blind)
#006B76
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #255aa2;
/* rgb */ color: rgb(37, 90, 162);
/* oklch */ color: oklch(47.1% 0.129 257.1);
Tailwind
colors: {
  custom: {
    50: '#7288be',
    500: '#255aa2',
    950: '#000000',
  },
}
SCSS
$custom: #255aa2;
$custom-light: #7288be;
$custom-dark: #000000;
JSON
{
  "hex": "#255aa2",
  "rgb": {
    "r": 37,
    "g": 90,
    "b": 162
  },
  "hsl": {
    "h": 214.56,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.47139,
    "c": 0.12923,
    "h": 257.1
  },
  "luminance": 0.10314
}

Semantic roles & 50–950 ramp

primary
#255AA2
secondary
#C29961
accent
#A042E6
background
#F7F8FB
surface
#EDEFF7
border
#C8CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #255AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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