#40839B#40839B

#40839B is a mid, moderate cyan. Relative luminance 0.197; OKLCH L 57.6% C 0.077 H 224.1°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#40839B
RGBrgb(64, 131, 155)
HSLhsl(196, 42%, 43%)
HSVhsv(196, 59%, 61%)
CMYKcmyk(58.7%, 15.5%, 0%, 39.2%)
CIE-LABlab(51.48, -13.96, -19.28)
CIE-LCHlch(51.48, 23.80, 234.08°)
OKLaboklab(57.61% -0.0554 -0.0536)
OKLCHoklch(57.61% 0.077 224.1)
XYZxyz(16.1447, 19.6876, 33.9533)
Luminance0.1969 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40839B #9B5840
analogous
#409B85 #40839B #40559B
triadic
#40839B #9B4083 #839B40
tetradic
#40839B #85409B #9B5840 #559B40
square
#40839B #85409B #9B5840 #559B40
split-complementary
#40839B #9B4055 #9B8540
monochromatic
#1C3A44 #2E5E70 #40839B #5CA3BC #88BBCE

Accessibility & contrast

On white

4.25
#40839B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#40839B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40839B
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40839B#FFFFFF#000000##000000
##40839B1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#76809C
Deuteranopia (green-blind)
#68769B
Tritanopia (blue-blind)
#008A8B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #40839b;
/* rgb */ color: rgb(64, 131, 155);
/* oklch */ color: oklch(57.6% 0.077 224.1);
Tailwind
colors: {
  custom: {
    50: '#7da7b8',
    500: '#40839b',
    950: '#000000',
  },
}
SCSS
$custom: #40839b;
$custom-light: #7da7b8;
$custom-dark: #000000;
JSON
{
  "hex": "#40839b",
  "rgb": {
    "r": 64,
    "g": 131,
    "b": 155
  },
  "hsl": {
    "h": 195.824,
    "s": 41.553,
    "l": 42.941
  },
  "oklch": {
    "l": 0.57608,
    "c": 0.07706,
    "h": 224.1
  },
  "luminance": 0.19689
}

Semantic roles & 50–950 ramp

primary
#40839B
secondary
#B88E7E
accent
#7756D1
background
#F8FAFB
surface
#EFF4F6
border
#CACED0
text
#0A0F11
muted
#7C7F80

Preview Lab

Preview with #40839B

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

Preview Lab → · Contrast checker → · Palette generator →

#40839B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva