#4145BC#4145BC

#4145BC is a mid, vivid blue. Relative luminance 0.090; OKLCH L 46.3% C 0.183 H 275.1°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#4145BC
RGBrgb(65, 69, 188)
HSLhsl(238, 49%, 50%)
HSVhsv(238, 65%, 74%)
CMYKcmyk(65.4%, 63.3%, 0%, 26.3%)
CIE-LABlab(36.00, 35.96, -63.19)
CIE-LCHlch(36.00, 72.71, 299.65°)
OKLaboklab(46.29% 0.0164 -0.1822)
OKLCHoklch(46.29% 0.183 275.1)
XYZxyz(13.3822, 9.0097, 48.6010)
Luminance0.0901 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4145BC #BCB841
analogous
#4182BC #4145BC #7B41BC
triadic
#4145BC #BC4145 #45BC41
tetradic
#4145BC #BC4182 #BCB841 #41BC7B
square
#4145BC #BC4182 #BCB841 #41BC7B
split-complementary
#4145BC #BC7B41 #82BC41
monochromatic
#222461 #31348F #4145BC #6E71CD #9B9DDC

Accessibility & contrast

On white

7.49
#4145BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#4145BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4145BC
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4145BC#FFFFFF#000000##FFFFFF
##4145BC1.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC0
Deuteranopia (green-blind)
#004FBA
Tritanopia (blue-blind)
#00637A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4145bc;
/* rgb */ color: rgb(65, 69, 188);
/* oklch */ color: oklch(46.3% 0.183 275.1);
Tailwind
colors: {
  custom: {
    50: '#8479d1',
    500: '#4145bc',
    950: '#000000',
  },
}
SCSS
$custom: #4145bc;
$custom-light: #8479d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4145bc",
  "rgb": {
    "r": 65,
    "g": 69,
    "b": 188
  },
  "hsl": {
    "h": 238.049,
    "s": 48.617,
    "l": 49.608
  },
  "oklch": {
    "l": 0.46294,
    "c": 0.18291,
    "h": 275.1
  },
  "luminance": 0.09011
}

Semantic roles & 50–950 ramp

primary
#4145BC
secondary
#C9C790
accent
#D450D8
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #4145BC

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

Preview Lab → · Contrast checker → · Palette generator →

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