#407BC3#407BC3

#407BC3 is a mid, vivid cyan. Relative luminance 0.192; OKLCH L 57.8% C 0.127 H 254.7°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#407BC3
RGBrgb(64, 123, 195)
HSLhsl(213, 52%, 51%)
HSVhsv(213, 67%, 76%)
CMYKcmyk(67.2%, 36.9%, 0%, 23.5%)
CIE-LABlab(50.91, 4.16, -43.25)
CIE-LCHlch(50.91, 43.45, 275.49°)
OKLaboklab(57.76% -0.0337 -0.1229)
OKLCHoklch(57.76% 0.127 254.7)
XYZxyz(19.0440, 19.1941, 54.3204)
Luminance0.1920 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407BC3 #C38840
analogous
#40BCC3 #407BC3 #4640C3
triadic
#407BC3 #C3407B #7BC340
tetradic
#407BC3 #C340BC #C38840 #40C346
square
#407BC3 #C340BC #C38840 #40C346
split-complementary
#407BC3 #C34640 #BCC340
monochromatic
#214168 #2F5E97 #407BC3 #6F9BD2 #9DBBE0

Accessibility & contrast

On white

4.34
#407BC3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#407BC3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407BC3
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407BC3#FFFFFF#000000##000000
##407BC31.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B80C6
Deuteranopia (green-blind)
#4874C2
Tritanopia (blue-blind)
#008C96
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #407bc3;
/* rgb */ color: rgb(64, 123, 195);
/* oklch */ color: oklch(57.8% 0.127 254.7);
Tailwind
colors: {
  custom: {
    50: '#83a0d5',
    500: '#407bc3',
    950: '#000000',
  },
}
SCSS
$custom: #407bc3;
$custom-light: #83a0d5;
$custom-dark: #000000;
JSON
{
  "hex": "#407bc3",
  "rgb": {
    "r": 64,
    "g": 123,
    "b": 195
  },
  "hsl": {
    "h": 212.977,
    "s": 52.191,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57756,
    "c": 0.12745,
    "h": 254.7
  },
  "luminance": 0.19196
}

Semantic roles & 50–950 ramp

primary
#407BC3
secondary
#CCB292
accent
#9B4CDC
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #407BC3

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

Preview Lab → · Contrast checker → · Palette generator →

#407BC3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva