#245282#245282

#245282 is a dark, moderate cyan. Relative luminance 0.080; OKLCH L 43.1% C 0.094 H 251.7°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#245282
RGBrgb(36, 82, 130)
HSLhsl(211, 57%, 33%)
HSVhsv(211, 72%, 51%)
CMYKcmyk(72.3%, 36.9%, 0%, 49%)
CIE-LABlab(34.03, 1.40, -31.56)
CIE-LCHlch(34.03, 31.59, 272.54°)
OKLaboklab(43.11% -0.0296 -0.0897)
OKLCHoklch(43.11% 0.094 251.7)
XYZxyz(7.7726, 8.0205, 22.2533)
Luminance0.0802 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245282 #825424
analogous
#248182 #245282 #252482
triadic
#245282 #822452 #528224
tetradic
#245282 #822481 #825424 #248225
square
#245282 #822481 #825424 #248225
split-complementary
#245282 #822524 #818224
monochromatic
#091622 #173452 #245282 #3170B2 #518FCF

Accessibility & contrast

On white

8.06
#245282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#245282 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #245282
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245282#FFFFFF#000000##FFFFFF
##2452821.008.062.608.06
#FFFFFF8.061.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5584
Deuteranopia (green-blind)
#2F4C81
Tritanopia (blue-blind)
#005D64
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #245282;
/* rgb */ color: rgb(36, 82, 130);
/* oklch */ color: oklch(43.1% 0.094 251.7);
Tailwind
colors: {
  custom: {
    50: '#6b82a6',
    500: '#245282',
    950: '#000000',
  },
}
SCSS
$custom: #245282;
$custom-light: #6b82a6;
$custom-dark: #000000;
JSON
{
  "hex": "#245282",
  "rgb": {
    "r": 36,
    "g": 82,
    "b": 130
  },
  "hsl": {
    "h": 210.638,
    "s": 56.627,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43109,
    "c": 0.09442,
    "h": 251.7
  },
  "luminance": 0.08021
}

Semantic roles & 50–950 ramp

primary
#245282
secondary
#B3824F
accent
#9648E0
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #245282

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

Preview Lab → · Contrast checker → · Palette generator →

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