#255278#255278

#255278 is a dark, moderate cyan. Relative luminance 0.078; OKLCH L 42.6% C 0.080 H 246.7°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#255278
RGBrgb(37, 82, 120)
HSLhsl(207, 53%, 31%)
HSVhsv(207, 69%, 47%)
CMYKcmyk(69.2%, 31.7%, 0%, 52.9%)
CIE-LABlab(33.53, -2.22, -26.15)
CIE-LCHlch(33.53, 26.25, 265.14°)
OKLaboklab(42.55% -0.0319 -0.0739)
OKLCHoklch(42.55% 0.08 246.7)
XYZxyz(7.1691, 7.7832, 18.8902)
Luminance0.0778 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255278 #784B25
analogous
#257874 #255278 #252878
triadic
#255278 #782552 #527825
tetradic
#255278 #742578 #784B25 #287825
square
#255278 #742578 #784B25 #287825
split-complementary
#255278 #782528 #787425
monochromatic
#08121A #173249 #255278 #3372A7 #4F91C9

Accessibility & contrast

On white

8.21
#255278 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#255278 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #255278
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255278#FFFFFF#000000##FFFFFF
##2552781.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41537A
Deuteranopia (green-blind)
#364B77
Tritanopia (blue-blind)
#005B5F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #255278;
/* rgb */ color: rgb(37, 82, 120);
/* oklch */ color: oklch(42.6% 0.080 246.7);
Tailwind
colors: {
  custom: {
    50: '#69829f',
    500: '#255278',
    950: '#000000',
  },
}
SCSS
$custom: #255278;
$custom-light: #69829f;
$custom-dark: #000000;
JSON
{
  "hex": "#255278",
  "rgb": {
    "r": 37,
    "g": 82,
    "b": 120
  },
  "hsl": {
    "h": 207.47,
    "s": 52.866,
    "l": 30.784
  },
  "oklch": {
    "l": 0.42553,
    "c": 0.08049,
    "h": 246.7
  },
  "luminance": 0.07784
}

Semantic roles & 50–950 ramp

primary
#255278
secondary
#AA794E
accent
#8E4CDC
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #255278

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

Preview Lab → · Contrast checker → · Palette generator →

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