#255798#255798

#255798 is a mid, moderate cyan. Relative luminance 0.095; OKLCH L 45.8% C 0.119 H 256.2°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#255798
RGBrgb(37, 87, 152)
HSLhsl(214, 61%, 37%)
HSVhsv(214, 76%, 60%)
CMYKcmyk(75.7%, 42.8%, 0%, 40.4%)
CIE-LABlab(36.88, 6.80, -40.41)
CIE-LCHlch(36.88, 40.97, 279.55°)
OKLaboklab(45.77% -0.0283 -0.1155)
OKLCHoklch(45.77% 0.119 256.2)
XYZxyz(9.8366, 9.4756, 31.0102)
Luminance0.0948 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255798 #986625
analogous
#259198 #255798 #2C2598
triadic
#255798 #982557 #579825
tetradic
#255798 #982591 #986625 #25982C
square
#255798 #982591 #986625 #25982C
split-complementary
#255798 #982C25 #919825
monochromatic
#0D1F36 #193B67 #255798 #3173C9 #5F94D8

Accessibility & contrast

On white

7.25
#255798 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#255798 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #255798
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255798#FFFFFF#000000##FFFFFF
##2557981.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375C9B
Deuteranopia (green-blind)
#245297
Tritanopia (blue-blind)
#006670
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #255798;
/* rgb */ color: rgb(37, 87, 152);
/* oklch */ color: oklch(45.8% 0.119 256.2);
Tailwind
colors: {
  custom: {
    50: '#7085b7',
    500: '#255798',
    950: '#000000',
  },
}
SCSS
$custom: #255798;
$custom-light: #7085b7;
$custom-dark: #000000;
JSON
{
  "hex": "#255798",
  "rgb": {
    "r": 37,
    "g": 87,
    "b": 152
  },
  "hsl": {
    "h": 213.913,
    "s": 60.847,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45766,
    "c": 0.11893,
    "h": 256.2
  },
  "luminance": 0.09477
}

Semantic roles & 50–950 ramp

primary
#255798
secondary
#BD935C
accent
#9E44E4
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #255798

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

Preview Lab → · Contrast checker → · Palette generator →

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