#255181#255181

#255181 is a dark, moderate cyan. Relative luminance 0.079; OKLCH L 42.8% C 0.094 H 252.6°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#255181
RGBrgb(37, 81, 129)
HSLhsl(211, 55%, 33%)
HSVhsv(211, 71%, 51%)
CMYKcmyk(71.3%, 37.2%, 0%, 49.4%)
CIE-LABlab(33.69, 1.83, -31.46)
CIE-LCHlch(33.69, 31.52, 273.33°)
OKLaboklab(42.84% -0.0281 -0.0894)
OKLCHoklch(42.84% 0.094 252.6)
XYZxyz(7.6664, 7.8623, 21.8782)
Luminance0.0786 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255181 #815525
analogous
#257F81 #255181 #272581
triadic
#255181 #812551 #518125
tetradic
#255181 #81257F #815525 #258127
square
#255181 #81257F #815525 #258127
split-complementary
#255181 #812725 #7F8125
monochromatic
#0A1522 #173351 #255181 #336FB1 #538ECE

Accessibility & contrast

On white

8.16
#255181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#255181 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #255181
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255181#FFFFFF#000000##FFFFFF
##2551811.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #255181;
/* rgb */ color: rgb(37, 81, 129);
/* oklch */ color: oklch(42.8% 0.094 252.6);
Tailwind
colors: {
  custom: {
    50: '#6b81a6',
    500: '#255181',
    950: '#000000',
  },
}
SCSS
$custom: #255181;
$custom-light: #6b81a6;
$custom-dark: #000000;
JSON
{
  "hex": "#255181",
  "rgb": {
    "r": 37,
    "g": 81,
    "b": 129
  },
  "hsl": {
    "h": 211.304,
    "s": 55.422,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42842,
    "c": 0.09369,
    "h": 252.6
  },
  "luminance": 0.07863
}

Semantic roles & 50–950 ramp

primary
#255181
secondary
#B28350
accent
#9749DF
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #255181

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

Preview Lab → · Contrast checker → · Palette generator →

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