#245170#245170

#245170 is a dark, moderate cyan. Relative luminance 0.074; OKLCH L 41.8% C 0.072 H 241.4°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#245170
RGBrgb(36, 81, 112)
HSLhsl(204, 51%, 29%)
HSVhsv(204, 68%, 44%)
CMYKcmyk(67.9%, 27.7%, 0%, 56.1%)
CIE-LABlab(32.76, -4.75, -22.36)
CIE-LCHlch(32.76, 22.86, 258.02°)
OKLaboklab(41.81% -0.0342 -0.0629)
OKLCHoklch(41.81% 0.072 241.4)
XYZxyz(6.5935, 7.4291, 16.4126)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245170 #704324
analogous
#247069 #245170 #242B70
triadic
#245170 #702451 #517024
tetradic
#245170 #692470 #704324 #2B7024
square
#245170 #692470 #704324 #2B7024
split-complementary
#245170 #70242B #706924
monochromatic
#071117 #153042 #245170 #33729E #4A93C5

Accessibility & contrast

On white

8.45
#245170 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#245170 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #245170
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245170#FFFFFF#000000##FFFFFF
##2451701.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435171
Deuteranopia (green-blind)
#394A6F
Tritanopia (blue-blind)
#00595C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #245170;
/* rgb */ color: rgb(36, 81, 112);
/* oklch */ color: oklch(41.8% 0.072 241.4);
Tailwind
colors: {
  custom: {
    50: '#688199',
    500: '#245170',
    950: '#000000',
  },
}
SCSS
$custom: #245170;
$custom-light: #688199;
$custom-dark: #000000;
JSON
{
  "hex": "#245170",
  "rgb": {
    "r": 36,
    "g": 81,
    "b": 112
  },
  "hsl": {
    "h": 204.474,
    "s": 51.351,
    "l": 29.02
  },
  "oklch": {
    "l": 0.41807,
    "c": 0.07165,
    "h": 241.4
  },
  "luminance": 0.0743
}

Semantic roles & 50–950 ramp

primary
#245170
secondary
#A3704D
accent
#874DDB
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #245170

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

Preview Lab → · Contrast checker → · Palette generator →

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