#4145D1#4145D1

#4145D1 is a mid, highly saturated blue. Relative luminance 0.100; OKLCH L 48.2% C 0.210 H 274.0°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#4145D1
RGBrgb(65, 69, 209)
HSLhsl(238, 61%, 54%)
HSVhsv(238, 69%, 82%)
CMYKcmyk(68.9%, 67%, 0%, 18%)
CIE-LABlab(37.81, 43.06, -72.46)
CIE-LCHlch(37.81, 84.29, 300.72°)
OKLaboklab(48.17% 0.0146 -0.2093)
OKLCHoklch(48.17% 0.21 274)
XYZxyz(15.8129, 9.9820, 61.4026)
Luminance0.0998 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4145D1 #D1CD41
analogous
#418DD1 #4145D1 #8541D1
triadic
#4145D1 #D14145 #45D141
tetradic
#4145D1 #D1418D #D1CD41 #41D185
square
#4145D1 #D1418D #D1CD41 #41D185
split-complementary
#4145D1 #D18541 #8DD141
monochromatic
#1E207A #292DAB #4145D1 #7275DD #A4A5E9

Accessibility & contrast

On white

7.01
#4145D1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#4145D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4145D1
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4145D1#FFFFFF#000000##FFFFFF
##4145D11.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D5
Deuteranopia (green-blind)
#0052CE
Tritanopia (blue-blind)
#006A85
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4145d1;
/* rgb */ color: rgb(65, 69, 209);
/* oklch */ color: oklch(48.2% 0.210 274.0);
Tailwind
colors: {
  custom: {
    50: '#8879e0',
    500: '#4145d1',
    950: '#000000',
  },
}
SCSS
$custom: #4145d1;
$custom-light: #8879e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4145d1",
  "rgb": {
    "r": 65,
    "g": 69,
    "b": 209
  },
  "hsl": {
    "h": 238.333,
    "s": 61.017,
    "l": 53.725
  },
  "oklch": {
    "l": 0.48167,
    "c": 0.20985,
    "h": 274
  },
  "luminance": 0.09984
}

Semantic roles & 50–950 ramp

primary
#4145D1
secondary
#D6D498
accent
#E044E4
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4145D1

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

Preview Lab → · Contrast checker → · Palette generator →

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