#245279#245279

#245279 is a dark, moderate cyan. Relative luminance 0.078; OKLCH L 42.6% C 0.082 H 246.9°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#245279
RGBrgb(36, 82, 121)
HSLhsl(208, 54%, 31%)
HSVhsv(208, 70%, 47%)
CMYKcmyk(70.2%, 32.2%, 0%, 52.5%)
CIE-LABlab(33.54, -2.03, -26.76)
CIE-LCHlch(33.54, 26.83, 265.67°)
OKLaboklab(42.57% -0.0323 -0.0757)
OKLCHoklch(42.57% 0.082 246.9)
XYZxyz(7.1947, 7.7894, 19.2098)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245279 #794B24
analogous
#247975 #245279 #242879
triadic
#245279 #792452 #527924
tetradic
#245279 #752479 #794B24 #287924
square
#245279 #752479 #794B24 #287924
split-complementary
#245279 #792428 #797524
monochromatic
#08121B #16324A #245279 #3272A8 #4D91CA

Accessibility & contrast

On white

8.21
#245279 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#245279 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #245279
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245279#FFFFFF#000000##FFFFFF
##2452791.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41537B
Deuteranopia (green-blind)
#354B78
Tritanopia (blue-blind)
#005B60
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #245279;
/* rgb */ color: rgb(36, 82, 121);
/* oklch */ color: oklch(42.6% 0.082 246.9);
Tailwind
colors: {
  custom: {
    50: '#6982a0',
    500: '#245279',
    950: '#000000',
  },
}
SCSS
$custom: #245279;
$custom-light: #6982a0;
$custom-dark: #000000;
JSON
{
  "hex": "#245279",
  "rgb": {
    "r": 36,
    "g": 82,
    "b": 121
  },
  "hsl": {
    "h": 207.529,
    "s": 54.14,
    "l": 30.784
  },
  "oklch": {
    "l": 0.42569,
    "c": 0.08227,
    "h": 246.9
  },
  "luminance": 0.0779
}

Semantic roles & 50–950 ramp

primary
#245279
secondary
#AC794D
accent
#8E4ADE
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #245279

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

Preview Lab → · Contrast checker → · Palette generator →

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