#40849A#40849A

#40849A is a mid, moderate cyan. Relative luminance 0.199; OKLCH L 57.8% C 0.076 H 221.7°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#40849A
RGBrgb(64, 132, 154)
HSLhsl(195, 41%, 43%)
HSVhsv(195, 58%, 60%)
CMYKcmyk(58.4%, 14.3%, 0%, 39.6%)
CIE-LABlab(51.75, -14.83, -18.28)
CIE-LCHlch(51.75, 23.54, 230.95°)
OKLaboklab(57.81% -0.0569 -0.0508)
OKLCHoklch(57.81% 0.076 221.7)
XYZxyz(16.1961, 19.9241, 33.5578)
Luminance0.1993 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40849A #9A5640
analogous
#409A83 #40849A #40579A
triadic
#40849A #9A4084 #849A40
tetradic
#40849A #83409A #9A5640 #579A40
square
#40849A #83409A #9A5640 #579A40
split-complementary
#40849A #9A4057 #9A8340
monochromatic
#1C3A44 #2E5F6F #40849A #5CA4BB #87BCCD

Accessibility & contrast

On white

4.21
#40849A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#40849A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40849A
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40849A#FFFFFF#000000##000000
##40849A1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#77819B
Deuteranopia (green-blind)
#6A779A
Tritanopia (blue-blind)
#008B8B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #40849a;
/* rgb */ color: rgb(64, 132, 154);
/* oklch */ color: oklch(57.8% 0.076 221.7);
Tailwind
colors: {
  custom: {
    50: '#7da7b7',
    500: '#40849a',
    950: '#000000',
  },
}
SCSS
$custom: #40849a;
$custom-light: #7da7b7;
$custom-dark: #000000;
JSON
{
  "hex": "#40849a",
  "rgb": {
    "r": 64,
    "g": 132,
    "b": 154
  },
  "hsl": {
    "h": 194.667,
    "s": 41.284,
    "l": 42.745
  },
  "oklch": {
    "l": 0.57811,
    "c": 0.07629,
    "h": 221.7
  },
  "luminance": 0.19926
}

Semantic roles & 50–950 ramp

primary
#40849A
secondary
#B88C7E
accent
#7557D1
background
#F8FAFB
surface
#EFF4F6
border
#CACED0
text
#0A0F11
muted
#7C7F80

Preview Lab

Preview with #40849A

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

Preview Lab → · Contrast checker → · Palette generator →

#40849A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva