#245178#245178

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

Color values

HEX#245178
RGBrgb(36, 81, 120)
HSLhsl(208, 54%, 31%)
HSVhsv(208, 70%, 47%)
CMYKcmyk(70%, 32.5%, 0%, 52.9%)
CIE-LABlab(33.17, -1.76, -26.72)
CIE-LCHlch(33.17, 26.78, 266.22°)
OKLaboklab(42.26% -0.0315 -0.0756)
OKLCHoklch(42.26% 0.082 247.4)
XYZxyz(7.0589, 7.6153, 18.8635)
Luminance0.0762 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245178 #784B24
analogous
#247875 #245178 #242778
triadic
#245178 #782451 #517824
tetradic
#245178 #752478 #784B24 #277824
square
#245178 #752478 #784B24 #277824
split-complementary
#245178 #782427 #787524
monochromatic
#08111A #163149 #245178 #3271A7 #4D90CA

Accessibility & contrast

On white

8.32
#245178 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#245178 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #245178
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245178#FFFFFF#000000##FFFFFF
##2451781.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40527A
Deuteranopia (green-blind)
#344A77
Tritanopia (blue-blind)
#005A5F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #245178;
/* rgb */ color: rgb(36, 81, 120);
/* oklch */ color: oklch(42.3% 0.082 247.4);
Tailwind
colors: {
  custom: {
    50: '#69819f',
    500: '#245178',
    950: '#000000',
  },
}
SCSS
$custom: #245178;
$custom-light: #69819f;
$custom-dark: #000000;
JSON
{
  "hex": "#245178",
  "rgb": {
    "r": 36,
    "g": 81,
    "b": 120
  },
  "hsl": {
    "h": 207.857,
    "s": 53.846,
    "l": 30.588
  },
  "oklch": {
    "l": 0.42259,
    "c": 0.08188,
    "h": 247.4
  },
  "luminance": 0.07616
}

Semantic roles & 50–950 ramp

primary
#245178
secondary
#AB794D
accent
#8F4BDD
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #245178

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

Preview Lab → · Contrast checker → · Palette generator →

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