#245172#245172

#245172 is a dark, moderate cyan. Relative luminance 0.075; OKLCH L 41.9% C 0.074 H 243.1°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#245172
RGBrgb(36, 81, 114)
HSLhsl(205, 52%, 29%)
HSVhsv(205, 68%, 45%)
CMYKcmyk(68.4%, 28.9%, 0%, 55.3%)
CIE-LABlab(32.86, -4.01, -23.46)
CIE-LCHlch(32.86, 23.80, 260.31°)
OKLaboklab(41.92% -0.0335 -0.0661)
OKLCHoklch(41.92% 0.074 243.1)
XYZxyz(6.7061, 7.4741, 17.0056)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245172 #724524
analogous
#24726C #245172 #242A72
triadic
#245172 #722451 #517224
tetradic
#245172 #6C2472 #724524 #2A7224
square
#245172 #6C2472 #724524 #2A7224
split-complementary
#245172 #72242A #726C24
monochromatic
#071117 #153043 #245172 #3372A1 #4A92C6

Accessibility & contrast

On white

8.42
#245172 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #245172
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245172#FFFFFF#000000##FFFFFF
##2451721.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425273
Deuteranopia (green-blind)
#384A71
Tritanopia (blue-blind)
#00595C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #245172;
/* rgb */ color: rgb(36, 81, 114);
/* oklch */ color: oklch(41.9% 0.074 243.1);
Tailwind
colors: {
  custom: {
    50: '#68819a',
    500: '#245172',
    950: '#000000',
  },
}
SCSS
$custom: #245172;
$custom-light: #68819a;
$custom-dark: #000000;
JSON
{
  "hex": "#245172",
  "rgb": {
    "r": 36,
    "g": 81,
    "b": 114
  },
  "hsl": {
    "h": 205.385,
    "s": 52,
    "l": 29.412
  },
  "oklch": {
    "l": 0.41918,
    "c": 0.07412,
    "h": 243.1
  },
  "luminance": 0.07475
}

Semantic roles & 50–950 ramp

primary
#245172
secondary
#A5724D
accent
#894CDB
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #245172

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

Preview Lab → · Contrast checker → · Palette generator →

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