#255284#255284

#255284 is a dark, moderate cyan. Relative luminance 0.081; OKLCH L 43.3% C 0.097 H 253.0°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#255284
RGBrgb(37, 82, 132)
HSLhsl(212, 56%, 33%)
HSVhsv(212, 72%, 52%)
CMYKcmyk(72%, 37.9%, 0%, 48.2%)
CIE-LABlab(34.18, 2.33, -32.55)
CIE-LCHlch(34.18, 32.63, 274.10°)
OKLaboklab(43.27% -0.0283 -0.0925)
OKLCHoklch(43.27% 0.097 253)
XYZxyz(7.9436, 8.0930, 22.9688)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255284 #845725
analogous
#258184 #255284 #272584
triadic
#255284 #842552 #528425
tetradic
#255284 #842581 #845725 #258427
square
#255284 #842581 #845725 #258427
split-complementary
#255284 #842725 #818425
monochromatic
#0A1724 #183454 #255284 #3270B4 #548ECF

Accessibility & contrast

On white

8.02
#255284 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#255284 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #255284
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255284#FFFFFF#000000##FFFFFF
##2552841.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5586
Deuteranopia (green-blind)
#2E4C83
Tritanopia (blue-blind)
#005E64
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #255284;
/* rgb */ color: rgb(37, 82, 132);
/* oklch */ color: oklch(43.3% 0.097 253.0);
Tailwind
colors: {
  custom: {
    50: '#6c82a8',
    500: '#255284',
    950: '#000000',
  },
}
SCSS
$custom: #255284;
$custom-light: #6c82a8;
$custom-dark: #000000;
JSON
{
  "hex": "#255284",
  "rgb": {
    "r": 37,
    "g": 82,
    "b": 132
  },
  "hsl": {
    "h": 211.579,
    "s": 56.213,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43274,
    "c": 0.09677,
    "h": 253
  },
  "luminance": 0.08094
}

Semantic roles & 50–950 ramp

primary
#255284
secondary
#B38551
accent
#9848E0
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #255284

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

Preview Lab → · Contrast checker → · Palette generator →

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