#4340CA#4340CA

#4340CA is a mid, highly saturated blue. Relative luminance 0.091; OKLCH L 46.9% C 0.206 H 275.9°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#4340CA
RGBrgb(67, 64, 202)
HSLhsl(241, 57%, 52%)
HSVhsv(241, 68%, 79%)
CMYKcmyk(66.8%, 68.3%, 0%, 20.8%)
CIE-LABlab(36.22, 43.94, -71.01)
CIE-LCHlch(36.22, 83.51, 301.75°)
OKLaboklab(46.86% 0.0211 -0.205)
OKLCHoklch(46.86% 0.206 275.9)
XYZxyz(14.8053, 9.1230, 56.8464)
Luminance0.0912 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4340CA #C7CA40
analogous
#4082CA #4340CA #8840CA
triadic
#4340CA #CA4340 #40CA43
tetradic
#4340CA #CA4082 #C7CA40 #40CA88
square
#4340CA #CA4082 #C7CA40 #40CA88
split-complementary
#4340CA #CA8840 #82CA40
monochromatic
#211F70 #2F2CA0 #4340CA #7270D7 #A1A0E5

Accessibility & contrast

On white

7.43
#4340CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#4340CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4340CA
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4340CA#FFFFFF#000000##FFFFFF
##4340CA1.007.432.827.43
#FFFFFF7.431.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCE
Deuteranopia (green-blind)
#004FC7
Tritanopia (blue-blind)
#006580
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4340ca;
/* rgb */ color: rgb(67, 64, 202);
/* oklch */ color: oklch(46.9% 0.206 275.9);
Tailwind
colors: {
  custom: {
    50: '#8876db',
    500: '#4340ca',
    950: '#000000',
  },
}
SCSS
$custom: #4340ca;
$custom-light: #8876db;
$custom-dark: #000000;
JSON
{
  "hex": "#4340ca",
  "rgb": {
    "r": 67,
    "g": 64,
    "b": 202
  },
  "hsl": {
    "h": 241.304,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.4686,
    "c": 0.20613,
    "h": 275.9
  },
  "luminance": 0.09124
}

Semantic roles & 50–950 ramp

primary
#4340CA
secondary
#D0D195
accent
#E048DD
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4340CA

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

Preview Lab → · Contrast checker → · Palette generator →

#4340CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva