#245181#245181

#245181 is a dark, moderate cyan. Relative luminance 0.078; OKLCH L 42.8% C 0.094 H 252.2°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#245181
RGBrgb(36, 81, 129)
HSLhsl(211, 56%, 32%)
HSVhsv(211, 72%, 51%)
CMYKcmyk(72.1%, 37.2%, 0%, 49.4%)
CIE-LABlab(33.66, 1.67, -31.53)
CIE-LCHlch(33.66, 31.57, 273.02°)
OKLaboklab(42.8% -0.0288 -0.0896)
OKLCHoklch(42.8% 0.094 252.2)
XYZxyz(7.6310, 7.8441, 21.8765)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245181 #815424
analogous
#248081 #245181 #262481
triadic
#245181 #812451 #518124
tetradic
#245181 #812480 #815424 #248126
square
#245181 #812480 #815424 #248126
split-complementary
#245181 #812624 #808124
monochromatic
#091521 #173351 #245181 #316FB1 #518ECE

Accessibility & contrast

On white

8.17
#245181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #245181
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245181#FFFFFF#000000##FFFFFF
##2451811.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #245181;
/* rgb */ color: rgb(36, 81, 129);
/* oklch */ color: oklch(42.8% 0.094 252.2);
Tailwind
colors: {
  custom: {
    50: '#6b81a6',
    500: '#245181',
    950: '#000000',
  },
}
SCSS
$custom: #245181;
$custom-light: #6b81a6;
$custom-dark: #000000;
JSON
{
  "hex": "#245181",
  "rgb": {
    "r": 36,
    "g": 81,
    "b": 129
  },
  "hsl": {
    "h": 210.968,
    "s": 56.364,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42801,
    "c": 0.09411,
    "h": 252.2
  },
  "luminance": 0.07845
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #245181

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

Preview Lab → · Contrast checker → · Palette generator →

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