#4145CC#4145CC

#4145CC is a mid, highly saturated blue. Relative luminance 0.097; OKLCH L 47.7% C 0.204 H 274.3°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#4145CC
RGBrgb(65, 69, 204)
HSLhsl(238, 58%, 53%)
HSVhsv(238, 68%, 80%)
CMYKcmyk(68.1%, 66.2%, 0%, 20%)
CIE-LABlab(37.37, 41.38, -70.29)
CIE-LCHlch(37.37, 81.57, 300.49°)
OKLaboklab(47.71% 0.0151 -0.203)
OKLCHoklch(47.71% 0.204 274.3)
XYZxyz(15.2036, 9.7383, 58.1935)
Luminance0.0974 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4145CC #CCC841
analogous
#418BCC #4145CC #8241CC
triadic
#4145CC #CC4145 #45CC41
tetradic
#4145CC #CC418B #CCC841 #41CC82
square
#4145CC #CC418B #CCC841 #41CC82
split-complementary
#4145CC #CC8241 #8BCC41
monochromatic
#1F2174 #2C2FA4 #4145CC #7174D9 #A1A3E6

Accessibility & contrast

On white

7.12
#4145CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#4145CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4145CC
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4145CC#FFFFFF#000000##FFFFFF
##4145CC1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED0
Deuteranopia (green-blind)
#0052C9
Tritanopia (blue-blind)
#006982
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4145cc;
/* rgb */ color: rgb(65, 69, 204);
/* oklch */ color: oklch(47.7% 0.204 274.3);
Tailwind
colors: {
  custom: {
    50: '#8779dd',
    500: '#4145cc',
    950: '#000000',
  },
}
SCSS
$custom: #4145cc;
$custom-light: #8779dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4145cc",
  "rgb": {
    "r": 65,
    "g": 69,
    "b": 204
  },
  "hsl": {
    "h": 238.273,
    "s": 57.676,
    "l": 52.745
  },
  "oklch": {
    "l": 0.47711,
    "c": 0.20356,
    "h": 274.3
  },
  "luminance": 0.0974
}

Semantic roles & 50–950 ramp

primary
#4145CC
secondary
#D3D196
accent
#DC47E1
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4145CC

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

Preview Lab → · Contrast checker → · Palette generator →

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