#245171#245171

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

Color values

HEX#245171
RGBrgb(36, 81, 113)
HSLhsl(205, 52%, 29%)
HSVhsv(205, 68%, 44%)
CMYKcmyk(68.1%, 28.3%, 0%, 55.7%)
CIE-LABlab(32.81, -4.38, -22.91)
CIE-LCHlch(32.81, 23.33, 259.18°)
OKLaboklab(41.86% -0.0339 -0.0645)
OKLCHoklch(41.86% 0.073 242.3)
XYZxyz(6.6495, 7.4515, 16.7074)
Luminance0.0745 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245171 #714424
analogous
#24716B #245171 #242B71
triadic
#245171 #712451 #517124
tetradic
#245171 #6B2471 #714424 #2B7124
square
#245171 #6B2471 #714424 #2B7124
split-complementary
#245171 #71242B #716B24
monochromatic
#071117 #153043 #245171 #33729F #4A92C5

Accessibility & contrast

On white

8.43
#245171 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #245171
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245171#FFFFFF#000000##FFFFFF
##2451711.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #245171;
/* rgb */ color: rgb(36, 81, 113);
/* oklch */ color: oklch(41.9% 0.073 242.3);
Tailwind
colors: {
  custom: {
    50: '#68819a',
    500: '#245171',
    950: '#000000',
  },
}
SCSS
$custom: #245171;
$custom-light: #68819a;
$custom-dark: #000000;
JSON
{
  "hex": "#245171",
  "rgb": {
    "r": 36,
    "g": 81,
    "b": 113
  },
  "hsl": {
    "h": 204.935,
    "s": 51.678,
    "l": 29.216
  },
  "oklch": {
    "l": 0.41862,
    "c": 0.07287,
    "h": 242.3
  },
  "luminance": 0.07452
}

Semantic roles & 50–950 ramp

primary
#245171
secondary
#A4714D
accent
#884DDB
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #245171

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

Preview Lab → · Contrast checker → · Palette generator →

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