#4145CD#4145CD

#4145CD is a mid, highly saturated blue. Relative luminance 0.098; OKLCH L 47.8% C 0.205 H 274.2°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#4145CD
RGBrgb(65, 69, 205)
HSLhsl(238, 58%, 53%)
HSVhsv(238, 68%, 80%)
CMYKcmyk(68.3%, 66.3%, 0%, 19.6%)
CIE-LABlab(37.46, 41.72, -70.73)
CIE-LCHlch(37.46, 82.11, 300.53°)
OKLaboklab(47.8% 0.015 -0.2043)
OKLCHoklch(47.8% 0.205 274.2)
XYZxyz(15.3239, 9.7864, 58.8272)
Luminance0.0979 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4145CD #CDC941
analogous
#418BCD #4145CD #8341CD
triadic
#4145CD #CD4145 #45CD41
tetradic
#4145CD #CD418B #CDC941 #41CD83
square
#4145CD #CD418B #CDC941 #41CD83
split-complementary
#4145CD #CD8341 #8BCD41
monochromatic
#1F2175 #2C2FA5 #4145CD #7174DA #A2A4E6

Accessibility & contrast

On white

7.10
#4145CD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#4145CD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4145CD
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4145CD#FFFFFF#000000##FFFFFF
##4145CD1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD1
Deuteranopia (green-blind)
#0052CA
Tritanopia (blue-blind)
#006983
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4145cd;
/* rgb */ color: rgb(65, 69, 205);
/* oklch */ color: oklch(47.8% 0.205 274.2);
Tailwind
colors: {
  custom: {
    50: '#8779dd',
    500: '#4145cd',
    950: '#000000',
  },
}
SCSS
$custom: #4145cd;
$custom-light: #8779dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4145cd",
  "rgb": {
    "r": 65,
    "g": 69,
    "b": 205
  },
  "hsl": {
    "h": 238.286,
    "s": 58.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.47802,
    "c": 0.20482,
    "h": 274.2
  },
  "luminance": 0.09788
}

Semantic roles & 50–950 ramp

primary
#4145CD
secondary
#D3D197
accent
#DD46E2
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4145CD

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

Preview Lab → · Contrast checker → · Palette generator →

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