#255F7A#255F7A

#255F7A is a mid, moderate cyan. Relative luminance 0.100; OKLCH L 46.0% C 0.074 H 231.7°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#255F7A
RGBrgb(37, 95, 122)
HSLhsl(199, 53%, 31%)
HSVhsv(199, 70%, 48%)
CMYKcmyk(69.7%, 22.1%, 0%, 52.2%)
CIE-LABlab(37.81, -9.52, -20.71)
CIE-LCHlch(37.81, 22.80, 245.31°)
OKLaboklab(45.98% -0.0458 -0.0581)
OKLCHoklch(45.98% 0.074 231.7)
XYZxyz(8.3666, 9.9820, 19.8944)
Luminance0.0998 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255F7A #7A4025
analogous
#257A6A #255F7A #25347A
triadic
#255F7A #7A255F #5F7A25
tetradic
#255F7A #6A257A #7A4025 #347A25
square
#255F7A #6A257A #7A4025 #347A25
split-complementary
#255F7A #7A2534 #7A6A25
monochromatic
#09161C #173A4B #255F7A #3384A9 #50A3CA

Accessibility & contrast

On white

7.01
#255F7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#255F7A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #255F7A
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255F7A#FFFFFF#000000##FFFFFF
##255F7A1.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525E7B
Deuteranopia (green-blind)
#46557A
Tritanopia (blue-blind)
#006668
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #255f7a;
/* rgb */ color: rgb(37, 95, 122);
/* oklch */ color: oklch(46.0% 0.074 231.7);
Tailwind
colors: {
  custom: {
    50: '#6a8ca0',
    500: '#255f7a',
    950: '#000000',
  },
}
SCSS
$custom: #255f7a;
$custom-light: #6a8ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#255f7a",
  "rgb": {
    "r": 37,
    "g": 95,
    "b": 122
  },
  "hsl": {
    "h": 199.059,
    "s": 53.459,
    "l": 31.176
  },
  "oklch": {
    "l": 0.45979,
    "c": 0.07394,
    "h": 231.7
  },
  "luminance": 0.09983
}

Semantic roles & 50–950 ramp

primary
#255F7A
secondary
#AC6C4E
accent
#794BDD
background
#F6F8F9
surface
#ECF0F2
border
#C7CBCC
text
#070C0E
muted
#7A7D7E

Preview Lab

Preview with #255F7A

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

Preview Lab → · Contrast checker → · Palette generator →

#255F7A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva