#245179#245179

#245179 is a dark, moderate cyan. Relative luminance 0.076; OKLCH L 42.3% C 0.083 H 248.0°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#245179
RGBrgb(36, 81, 121)
HSLhsl(208, 54%, 31%)
HSVhsv(208, 70%, 47%)
CMYKcmyk(70.2%, 33.1%, 0%, 52.5%)
CIE-LABlab(33.22, -1.39, -27.26)
CIE-LCHlch(33.22, 27.29, 267.09°)
OKLaboklab(42.32% -0.0312 -0.0771)
OKLCHoklch(42.32% 0.083 248)
XYZxyz(7.1199, 7.6397, 19.1848)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245179 #794C24
analogous
#247976 #245179 #242779
triadic
#245179 #792451 #517924
tetradic
#245179 #762479 #794C24 #277924
square
#245179 #762479 #794C24 #277924
split-complementary
#245179 #792427 #797624
monochromatic
#08121B #16314A #245179 #3271A8 #4D8FCA

Accessibility & contrast

On white

8.31
#245179 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#245179 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #245179
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245179#FFFFFF#000000##FFFFFF
##2451791.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F537B
Deuteranopia (green-blind)
#334A78
Tritanopia (blue-blind)
#005B5F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #245179;
/* rgb */ color: rgb(36, 81, 121);
/* oklch */ color: oklch(42.3% 0.083 248.0);
Tailwind
colors: {
  custom: {
    50: '#6981a0',
    500: '#245179',
    950: '#000000',
  },
}
SCSS
$custom: #245179;
$custom-light: #6981a0;
$custom-dark: #000000;
JSON
{
  "hex": "#245179",
  "rgb": {
    "r": 36,
    "g": 81,
    "b": 121
  },
  "hsl": {
    "h": 208.235,
    "s": 54.14,
    "l": 30.784
  },
  "oklch": {
    "l": 0.42318,
    "c": 0.08321,
    "h": 248
  },
  "luminance": 0.0764
}

Semantic roles & 50–950 ramp

primary
#245179
secondary
#AC7A4D
accent
#904ADE
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #245179

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

Preview Lab → · Contrast checker → · Palette generator →

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