#4145CA#4145CA

#4145CA is a mid, highly saturated blue. Relative luminance 0.096; OKLCH L 47.5% C 0.201 H 274.4°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#4145CA
RGBrgb(65, 69, 202)
HSLhsl(238, 56%, 52%)
HSVhsv(238, 68%, 79%)
CMYKcmyk(67.8%, 65.8%, 0%, 20.8%)
CIE-LABlab(37.19, 40.71, -69.42)
CIE-LCHlch(37.19, 80.47, 300.39°)
OKLaboklab(47.53% 0.0153 -0.2004)
OKLCHoklch(47.53% 0.201 274.4)
XYZxyz(14.9652, 9.6430, 56.9383)
Luminance0.0964 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4145CA #CAC641
analogous
#418ACA #4145CA #8141CA
triadic
#4145CA #CA4145 #45CA41
tetradic
#4145CA #CA418A #CAC641 #41CA81
square
#4145CA #CA418A #CAC641 #41CA81
split-complementary
#4145CA #CA8141 #8ACA41
monochromatic
#202271 #2D30A1 #4145CA #7174D7 #A1A3E5

Accessibility & contrast

On white

7.17
#4145CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#4145CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4145CA
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4145CA#FFFFFF#000000##FFFFFF
##4145CA1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECE
Deuteranopia (green-blind)
#0051C7
Tritanopia (blue-blind)
#006881
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4145ca;
/* rgb */ color: rgb(65, 69, 202);
/* oklch */ color: oklch(47.5% 0.201 274.4);
Tailwind
colors: {
  custom: {
    50: '#8779db',
    500: '#4145ca',
    950: '#000000',
  },
}
SCSS
$custom: #4145ca;
$custom-light: #8779db;
$custom-dark: #000000;
JSON
{
  "hex": "#4145ca",
  "rgb": {
    "r": 65,
    "g": 69,
    "b": 202
  },
  "hsl": {
    "h": 238.248,
    "s": 56.379,
    "l": 52.353
  },
  "oklch": {
    "l": 0.47531,
    "c": 0.20102,
    "h": 274.4
  },
  "luminance": 0.09644
}

Semantic roles & 50–950 ramp

primary
#4145CA
secondary
#D1CF96
accent
#DB48E0
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4145CA

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

Preview Lab → · Contrast checker → · Palette generator →

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