#255182#255182

#255182 is a dark, moderate cyan. Relative luminance 0.079; OKLCH L 42.9% C 0.095 H 253.0°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#255182
RGBrgb(37, 81, 130)
HSLhsl(212, 56%, 33%)
HSVhsv(212, 72%, 51%)
CMYKcmyk(71.5%, 37.7%, 0%, 49%)
CIE-LABlab(33.75, 2.22, -31.99)
CIE-LCHlch(33.75, 32.07, 273.96°)
OKLaboklab(42.91% -0.0278 -0.0909)
OKLCHoklch(42.91% 0.095 253)
XYZxyz(7.7332, 7.8891, 22.2300)
Luminance0.0789 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255182 #825625
analogous
#257F82 #255182 #272582
triadic
#255182 #822551 #518225
tetradic
#255182 #82257F #825625 #258227
square
#255182 #82257F #825625 #258227
split-complementary
#255182 #822725 #7F8225
monochromatic
#0A1623 #173352 #255182 #336FB2 #538DCE

Accessibility & contrast

On white

8.15
#255182 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#255182 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #255182
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255182#FFFFFF#000000##FFFFFF
##2551821.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5484
Deuteranopia (green-blind)
#2D4B81
Tritanopia (blue-blind)
#005C63
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #255182;
/* rgb */ color: rgb(37, 81, 130);
/* oklch */ color: oklch(42.9% 0.095 253.0);
Tailwind
colors: {
  custom: {
    50: '#6b81a6',
    500: '#255182',
    950: '#000000',
  },
}
SCSS
$custom: #255182;
$custom-light: #6b81a6;
$custom-dark: #000000;
JSON
{
  "hex": "#255182",
  "rgb": {
    "r": 37,
    "g": 81,
    "b": 130
  },
  "hsl": {
    "h": 211.613,
    "s": 55.689,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42905,
    "c": 0.09508,
    "h": 253
  },
  "luminance": 0.0789
}

Semantic roles & 50–950 ramp

primary
#255182
secondary
#B28450
accent
#9849DF
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #255182

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

Preview Lab → · Contrast checker → · Palette generator →

#255182 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva