#245284#245284

#245284 is a dark, moderate cyan. Relative luminance 0.081; OKLCH L 43.2% C 0.097 H 252.6°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#245284
RGBrgb(36, 82, 132)
HSLhsl(211, 57%, 33%)
HSVhsv(211, 73%, 52%)
CMYKcmyk(72.7%, 37.9%, 0%, 48.2%)
CIE-LABlab(34.14, 2.17, -32.61)
CIE-LCHlch(34.14, 32.68, 273.81°)
OKLaboklab(43.23% -0.029 -0.0927)
OKLCHoklch(43.23% 0.097 252.6)
XYZxyz(7.9082, 8.0747, 22.9671)
Luminance0.0808 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245284 #845624
analogous
#248284 #245284 #262484
triadic
#245284 #842452 #528424
tetradic
#245284 #842482 #845624 #248426
square
#245284 #842482 #845624 #248426
split-complementary
#245284 #842624 #828424
monochromatic
#0A1624 #173454 #245284 #3170B4 #528FD0

Accessibility & contrast

On white

8.03
#245284 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#245284 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #245284
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245284#FFFFFF#000000##FFFFFF
##2452841.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5586
Deuteranopia (green-blind)
#2D4C83
Tritanopia (blue-blind)
#005E64
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #245284;
/* rgb */ color: rgb(36, 82, 132);
/* oklch */ color: oklch(43.2% 0.097 252.6);
Tailwind
colors: {
  custom: {
    50: '#6b82a8',
    500: '#245284',
    950: '#000000',
  },
}
SCSS
$custom: #245284;
$custom-light: #6b82a8;
$custom-dark: #000000;
JSON
{
  "hex": "#245284",
  "rgb": {
    "r": 36,
    "g": 82,
    "b": 132
  },
  "hsl": {
    "h": 211.25,
    "s": 57.143,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43234,
    "c": 0.09718,
    "h": 252.6
  },
  "luminance": 0.08076
}

Semantic roles & 50–950 ramp

primary
#245284
secondary
#B48450
accent
#9747E0
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #245284

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

Preview Lab → · Contrast checker → · Palette generator →

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