#4145D2#4145D2

#4145D2 is a mid, highly saturated blue. Relative luminance 0.100; OKLCH L 48.3% C 0.211 H 273.9°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#4145D2
RGBrgb(65, 69, 210)
HSLhsl(238, 62%, 54%)
HSVhsv(238, 69%, 82%)
CMYKcmyk(69%, 67.1%, 0%, 17.6%)
CIE-LABlab(37.90, 43.39, -72.89)
CIE-LCHlch(37.90, 84.83, 300.76°)
OKLaboklab(48.26% 0.0145 -0.2106)
OKLCHoklch(48.26% 0.211 273.9)
XYZxyz(15.9371, 10.0317, 62.0567)
Luminance0.1003 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4145D2 #D2CE41
analogous
#418ED2 #4145D2 #8641D2
triadic
#4145D2 #D24145 #45D241
tetradic
#4145D2 #D2418E #D2CE41 #41D286
square
#4145D2 #D2418E #D2CE41 #41D286
split-complementary
#4145D2 #D28641 #8ED241
monochromatic
#1D207B #292DAD #4145D2 #7275DE #A4A6E9

Accessibility & contrast

On white

6.98
#4145D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#4145D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4145D2
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4145D2#FFFFFF#000000##FFFFFF
##4145D21.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D6
Deuteranopia (green-blind)
#0052CF
Tritanopia (blue-blind)
#006B86
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4145d2;
/* rgb */ color: rgb(65, 69, 210);
/* oklch */ color: oklch(48.3% 0.211 273.9);
Tailwind
colors: {
  custom: {
    50: '#8979e1',
    500: '#4145d2',
    950: '#000000',
  },
}
SCSS
$custom: #4145d2;
$custom-light: #8979e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4145d2",
  "rgb": {
    "r": 65,
    "g": 69,
    "b": 210
  },
  "hsl": {
    "h": 238.345,
    "s": 61.702,
    "l": 53.922
  },
  "oklch": {
    "l": 0.48259,
    "c": 0.2111,
    "h": 273.9
  },
  "luminance": 0.10033
}

Semantic roles & 50–950 ramp

primary
#4145D2
secondary
#D6D598
accent
#E043E5
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4145D2

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

Preview Lab → · Contrast checker → · Palette generator →

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