#4145B7#4145B7

#4145B7 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.9% C 0.176 H 275.4°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#4145B7
RGBrgb(65, 69, 183)
HSLhsl(238, 48%, 49%)
HSVhsv(238, 64%, 72%)
CMYKcmyk(64.5%, 62.3%, 0%, 28.2%)
CIE-LABlab(35.59, 34.26, -60.91)
CIE-LCHlch(35.59, 69.89, 299.35°)
OKLaboklab(45.87% 0.0167 -0.1755)
OKLCHoklch(45.87% 0.176 275.4)
XYZxyz(12.8525, 8.7979, 45.8114)
Luminance0.0880 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4145B7 #B7B341
analogous
#4180B7 #4145B7 #7841B7
triadic
#4145B7 #B74145 #45B741
tetradic
#4145B7 #B74180 #B7B341 #41B778
square
#4145B7 #B74180 #B7B341 #41B778
split-complementary
#4145B7 #B77841 #80B741
monochromatic
#21235D #31348A #4145B7 #6B6ECA #989ADA

Accessibility & contrast

On white

7.61
#4145B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#4145B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4145B7
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4145B7#FFFFFF#000000##FFFFFF
##4145B71.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BB
Deuteranopia (green-blind)
#004FB5
Tritanopia (blue-blind)
#006277
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4145b7;
/* rgb */ color: rgb(65, 69, 183);
/* oklch */ color: oklch(45.9% 0.176 275.4);
Tailwind
colors: {
  custom: {
    50: '#8379cd',
    500: '#4145b7',
    950: '#000000',
  },
}
SCSS
$custom: #4145b7;
$custom-light: #8379cd;
$custom-dark: #000000;
JSON
{
  "hex": "#4145b7",
  "rgb": {
    "r": 65,
    "g": 69,
    "b": 183
  },
  "hsl": {
    "h": 237.966,
    "s": 47.581,
    "l": 48.627
  },
  "oklch": {
    "l": 0.45865,
    "c": 0.17629,
    "h": 275.4
  },
  "luminance": 0.08799
}

Semantic roles & 50–950 ramp

primary
#4145B7
secondary
#C6C48E
accent
#D351D7
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0914
muted
#7D7B82

Preview Lab

Preview with #4145B7

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

Preview Lab → · Contrast checker → · Palette generator →

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