#245F7F#245F7F

#245F7F is a mid, moderate cyan. Relative luminance 0.101; OKLCH L 46.2% C 0.080 H 236.0°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#245F7F
RGBrgb(36, 95, 127)
HSLhsl(201, 56%, 32%)
HSVhsv(201, 72%, 50%)
CMYKcmyk(71.7%, 25.2%, 0%, 50.2%)
CIE-LABlab(38.00, -7.89, -23.47)
CIE-LCHlch(38.00, 24.76, 251.43°)
OKLaboklab(46.2% -0.0445 -0.066)
OKLCHoklch(46.2% 0.08 236)
XYZxyz(8.6490, 10.0908, 21.5665)
Luminance0.1009 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245F7F #7F4424
analogous
#247F72 #245F7F #24327F
triadic
#245F7F #7F245F #5F7F24
tetradic
#245F7F #72247F #7F4424 #327F24
square
#245F7F #72247F #7F4424 #327F24
split-complementary
#245F7F #7F2432 #7F7224
monochromatic
#091820 #163B4F #245F7F #3283AF #50A1CD

Accessibility & contrast

On white

6.96
#245F7F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#245F7F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #245F7F
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245F7F#FFFFFF#000000##FFFFFF
##245F7F1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505E81
Deuteranopia (green-blind)
#43567E
Tritanopia (blue-blind)
#00676A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #245f7f;
/* rgb */ color: rgb(36, 95, 127);
/* oklch */ color: oklch(46.2% 0.080 236.0);
Tailwind
colors: {
  custom: {
    50: '#6b8ca4',
    500: '#245f7f',
    950: '#000000',
  },
}
SCSS
$custom: #245f7f;
$custom-light: #6b8ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#245f7f",
  "rgb": {
    "r": 36,
    "g": 95,
    "b": 127
  },
  "hsl": {
    "h": 201.099,
    "s": 55.828,
    "l": 31.961
  },
  "oklch": {
    "l": 0.462,
    "c": 0.07962,
    "h": 236
  },
  "luminance": 0.10092
}

Semantic roles & 50–950 ramp

primary
#245F7F
secondary
#B1714E
accent
#7E49DF
background
#F6F8FA
surface
#ECF0F4
border
#C7CBCE
text
#070C0F
muted
#7A7D7F

Preview Lab

Preview with #245F7F

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

Preview Lab → · Contrast checker → · Palette generator →

#245F7F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva