#4145CE#4145CE

#4145CE is a mid, highly saturated blue. Relative luminance 0.098; OKLCH L 47.9% C 0.206 H 274.1°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#4145CE
RGBrgb(65, 69, 206)
HSLhsl(238, 59%, 53%)
HSVhsv(238, 68%, 81%)
CMYKcmyk(68.4%, 66.5%, 0%, 19.2%)
CIE-LABlab(37.54, 42.05, -71.16)
CIE-LCHlch(37.54, 82.66, 300.58°)
OKLaboklab(47.89% 0.0149 -0.2055)
OKLCHoklch(47.89% 0.206 274.1)
XYZxyz(15.4450, 9.8349, 59.4649)
Luminance0.0984 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4145CE #CECA41
analogous
#418BCE #4145CE #8341CE
triadic
#4145CE #CE4145 #45CE41
tetradic
#4145CE #CE418B #CECA41 #41CE83
square
#4145CE #CE418B #CECA41 #41CE83
split-complementary
#4145CE #CE8341 #8BCE41
monochromatic
#1E2176 #2B2FA7 #4145CE #7275DB #A2A4E7

Accessibility & contrast

On white

7.08
#4145CE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#4145CE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4145CE
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4145CE#FFFFFF#000000##FFFFFF
##4145CE1.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD2
Deuteranopia (green-blind)
#0052CB
Tritanopia (blue-blind)
#006984
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4145ce;
/* rgb */ color: rgb(65, 69, 206);
/* oklch */ color: oklch(47.9% 0.206 274.1);
Tailwind
colors: {
  custom: {
    50: '#8879de',
    500: '#4145ce',
    950: '#000000',
  },
}
SCSS
$custom: #4145ce;
$custom-light: #8879de;
$custom-dark: #000000;
JSON
{
  "hex": "#4145ce",
  "rgb": {
    "r": 65,
    "g": 69,
    "b": 206
  },
  "hsl": {
    "h": 238.298,
    "s": 58.996,
    "l": 53.137
  },
  "oklch": {
    "l": 0.47893,
    "c": 0.20608,
    "h": 274.1
  },
  "luminance": 0.09836
}

Semantic roles & 50–950 ramp

primary
#4145CE
secondary
#D4D297
accent
#DE46E2
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4145CE

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

Preview Lab → · Contrast checker → · Palette generator →

#4145CE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva