#4138DA#4138DA

#4138DA is a mid, highly saturated blue. Relative luminance 0.090; OKLCH L 47.1% C 0.234 H 275.1°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#4138DA
RGBrgb(65, 56, 218)
HSLhsl(243, 69%, 54%)
HSVhsv(243, 74%, 85%)
CMYKcmyk(70.2%, 74.3%, 0%, 14.5%)
CIE-LABlab(36.01, 53.30, -80.61)
CIE-LCHlch(36.01, 96.64, 303.47°)
OKLaboklab(47.13% 0.0206 -0.2331)
OKLCHoklch(47.13% 0.234 275.1)
XYZxyz(16.2449, 9.0126, 67.1996)
Luminance0.0901 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4138DA #D1DA38
analogous
#3880DA #4138DA #9238DA
triadic
#4138DA #DA4138 #38DA41
tetradic
#4138DA #DA3880 #D1DA38 #38DA92
square
#4138DA #DA3880 #D1DA38 #38DA92
split-complementary
#4138DA #DA9238 #80DA38
monochromatic
#1E1880 #2921B3 #4138DA #726CE4 #A49FED

Accessibility & contrast

On white

7.49
#4138DA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#4138DA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4138DA
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4138DA#FFFFFF#000000##FFFFFF
##4138DA1.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)
#005CDF
Deuteranopia (green-blind)
#004DD7
Tritanopia (blue-blind)
#006787
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4138da;
/* rgb */ color: rgb(65, 56, 218);
/* oklch */ color: oklch(47.1% 0.234 275.1);
Tailwind
colors: {
  custom: {
    50: '#8b71e7',
    500: '#4138da',
    950: '#000000',
  },
}
SCSS
$custom: #4138da;
$custom-light: #8b71e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4138da",
  "rgb": {
    "r": 65,
    "g": 56,
    "b": 218
  },
  "hsl": {
    "h": 243.333,
    "s": 68.644,
    "l": 53.725
  },
  "oklch": {
    "l": 0.47134,
    "c": 0.234,
    "h": 275.1
  },
  "luminance": 0.09014
}

Semantic roles & 50–950 ramp

primary
#4138DA
secondary
#D6DA94
accent
#EB3CE2
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #4138DA

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

Preview Lab → · Contrast checker → · Palette generator →

#4138DA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva