#255FAF#255FAF

#255FAF is a mid, vivid cyan. Relative luminance 0.117; OKLCH L 49.2% C 0.141 H 257.5°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#255FAF
RGBrgb(37, 95, 175)
HSLhsl(215, 65%, 42%)
HSVhsv(215, 79%, 69%)
CMYKcmyk(78.9%, 45.7%, 0%, 31.4%)
CIE-LABlab(40.69, 10.53, -48.01)
CIE-LCHlch(40.69, 49.15, 282.37°)
OKLaboklab(49.18% -0.0306 -0.1377)
OKLCHoklch(49.18% 0.141 257.5)
XYZxyz(12.5902, 11.6714, 42.1384)
Luminance0.1167 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255FAF #AF7525
analogous
#25A4AF #255FAF #3025AF
triadic
#255FAF #AF255F #5FAF25
tetradic
#255FAF #AF25A4 #AF7525 #25AF30
square
#255FAF #AF25A4 #AF7525 #25AF30
split-complementary
#255FAF #AF3025 #A4AF25
monochromatic
#10284A #1A447C #255FAF #3C7CD6 #6E9EE0

Accessibility & contrast

On white

6.30
#255FAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#255FAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #255FAF
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255FAF#FFFFFF#000000##FFFFFF
##255FAF1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3567B2
Deuteranopia (green-blind)
#155AAD
Tritanopia (blue-blind)
#00727E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #255faf;
/* rgb */ color: rgb(37, 95, 175);
/* oklch */ color: oklch(49.2% 0.141 257.5);
Tailwind
colors: {
  custom: {
    50: '#758bc7',
    500: '#255faf',
    950: '#000000',
  },
}
SCSS
$custom: #255faf;
$custom-light: #758bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#255faf",
  "rgb": {
    "r": 37,
    "g": 95,
    "b": 175
  },
  "hsl": {
    "h": 214.783,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.49175,
    "c": 0.14108,
    "h": 257.5
  },
  "luminance": 0.11673
}

Semantic roles & 50–950 ramp

primary
#255FAF
secondary
#C79F69
accent
#A140E8
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #255FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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