#4145CF#4145CF

#4145CF is a mid, highly saturated blue. Relative luminance 0.099; OKLCH L 48.0% C 0.207 H 274.1°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#4145CF
RGBrgb(65, 69, 207)
HSLhsl(238, 60%, 53%)
HSVhsv(238, 69%, 81%)
CMYKcmyk(68.6%, 66.7%, 0%, 18.8%)
CIE-LABlab(37.63, 42.39, -71.60)
CIE-LCHlch(37.63, 83.20, 300.63°)
OKLaboklab(47.98% 0.0148 -0.2068)
OKLCHoklch(47.98% 0.207 274.1)
XYZxyz(15.5668, 9.8836, 60.1067)
Luminance0.0988 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4145CF #CFCB41
analogous
#418CCF #4145CF #8441CF
triadic
#4145CF #CF4145 #45CF41
tetradic
#4145CF #CF418C #CFCB41 #41CF84
square
#4145CF #CF418C #CFCB41 #41CF84
split-complementary
#4145CF #CF8441 #8CCF41
monochromatic
#1E2177 #2B2EA8 #4145CF #7275DB #A3A5E8

Accessibility & contrast

On white

7.05
#4145CF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#4145CF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4145CF
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4145CF#FFFFFF#000000##FFFFFF
##4145CF1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD3
Deuteranopia (green-blind)
#0052CC
Tritanopia (blue-blind)
#006A84
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4145cf;
/* rgb */ color: rgb(65, 69, 207);
/* oklch */ color: oklch(48.0% 0.207 274.1);
Tailwind
colors: {
  custom: {
    50: '#8879df',
    500: '#4145cf',
    950: '#000000',
  },
}
SCSS
$custom: #4145cf;
$custom-light: #8879df;
$custom-dark: #000000;
JSON
{
  "hex": "#4145cf",
  "rgb": {
    "r": 65,
    "g": 69,
    "b": 207
  },
  "hsl": {
    "h": 238.31,
    "s": 59.664,
    "l": 53.333
  },
  "oklch": {
    "l": 0.47984,
    "c": 0.20734,
    "h": 274.1
  },
  "luminance": 0.09885
}

Semantic roles & 50–950 ramp

primary
#4145CF
secondary
#D4D397
accent
#DE45E3
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4145CF

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

Preview Lab → · Contrast checker → · Palette generator →

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