#4340CF#4340CF

#4340CF is a mid, highly saturated blue. Relative luminance 0.094; OKLCH L 47.3% C 0.212 H 275.5°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#4340CF
RGBrgb(67, 64, 207)
HSLhsl(241, 60%, 53%)
HSVhsv(241, 69%, 81%)
CMYKcmyk(67.6%, 69.1%, 0%, 18.8%)
CIE-LABlab(36.68, 45.57, -73.16)
CIE-LCHlch(36.68, 86.20, 301.92°)
OKLaboklab(47.33% 0.0204 -0.2113)
OKLCHoklch(47.33% 0.212 275.5)
XYZxyz(15.4069, 9.3637, 60.0148)
Luminance0.0936 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4340CF #CCCF40
analogous
#4084CF #4340CF #8B40CF
triadic
#4340CF #CF4340 #40CF43
tetradic
#4340CF #CF4084 #CCCF40 #40CF8B
square
#4340CF #CF4084 #CCCF40 #40CF8B
split-complementary
#4340CF #CF8B40 #84CF40
monochromatic
#201E77 #2D2AA8 #4340CF #7371DB #A3A2E8

Accessibility & contrast

On white

7.31
#4340CF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#4340CF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4340CF
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4340CF#FFFFFF#000000##FFFFFF
##4340CF1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD3
Deuteranopia (green-blind)
#0050CC
Tritanopia (blue-blind)
#006783
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4340cf;
/* rgb */ color: rgb(67, 64, 207);
/* oklch */ color: oklch(47.3% 0.212 275.5);
Tailwind
colors: {
  custom: {
    50: '#8976df',
    500: '#4340cf',
    950: '#000000',
  },
}
SCSS
$custom: #4340cf;
$custom-light: #8976df;
$custom-dark: #000000;
JSON
{
  "hex": "#4340cf",
  "rgb": {
    "r": 67,
    "g": 64,
    "b": 207
  },
  "hsl": {
    "h": 241.259,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.47326,
    "c": 0.21233,
    "h": 275.5
  },
  "luminance": 0.09365
}

Semantic roles & 50–950 ramp

primary
#4340CF
secondary
#D3D497
accent
#E345E0
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4340CF

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

Preview Lab → · Contrast checker → · Palette generator →

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