#245182#245182

#245182 is a dark, moderate cyan. Relative luminance 0.079; OKLCH L 42.9% C 0.095 H 252.6°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#245182
RGBrgb(36, 81, 130)
HSLhsl(211, 57%, 33%)
HSVhsv(211, 72%, 51%)
CMYKcmyk(72.3%, 37.7%, 0%, 49%)
CIE-LABlab(33.71, 2.05, -32.05)
CIE-LCHlch(33.71, 32.12, 273.66°)
OKLaboklab(42.86% -0.0285 -0.0911)
OKLCHoklch(42.86% 0.095 252.6)
XYZxyz(7.6978, 7.8708, 22.2283)
Luminance0.0787 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245182 #825524
analogous
#248082 #245182 #262482
triadic
#245182 #822451 #518224
tetradic
#245182 #822480 #825524 #248226
square
#245182 #822480 #825524 #248226
split-complementary
#245182 #822624 #808224
monochromatic
#091522 #173352 #245182 #316FB2 #518ECF

Accessibility & contrast

On white

8.16
#245182 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#245182 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #245182
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245182#FFFFFF#000000##FFFFFF
##2451821.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5484
Deuteranopia (green-blind)
#2D4B81
Tritanopia (blue-blind)
#005C63
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #245182;
/* rgb */ color: rgb(36, 81, 130);
/* oklch */ color: oklch(42.9% 0.095 252.6);
Tailwind
colors: {
  custom: {
    50: '#6b81a6',
    500: '#245182',
    950: '#000000',
  },
}
SCSS
$custom: #245182;
$custom-light: #6b81a6;
$custom-dark: #000000;
JSON
{
  "hex": "#245182",
  "rgb": {
    "r": 36,
    "g": 81,
    "b": 130
  },
  "hsl": {
    "h": 211.277,
    "s": 56.627,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42864,
    "c": 0.09549,
    "h": 252.6
  },
  "luminance": 0.07872
}

Semantic roles & 50–950 ramp

primary
#245182
secondary
#B3834F
accent
#9748E0
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #245182

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

Preview Lab → · Contrast checker → · Palette generator →

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