#4138C0#4138C0

#4138C0 is a dark, highly saturated blue. Relative luminance 0.078; OKLCH L 44.6% C 0.203 H 277.2°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#4138C0
RGBrgb(65, 56, 192)
HSLhsl(244, 55%, 49%)
HSVhsv(244, 71%, 75%)
CMYKcmyk(66.1%, 70.8%, 0%, 24.7%)
CIE-LABlab(33.47, 45.07, -69.69)
CIE-LCHlch(33.47, 82.99, 302.89°)
OKLaboklab(44.57% 0.0255 -0.2012)
OKLCHoklch(44.57% 0.203 277.2)
XYZxyz(13.1055, 7.7568, 50.6655)
Luminance0.0776 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4138C0 #B7C038
analogous
#3873C0 #4138C0 #8538C0
triadic
#4138C0 #C04138 #38C041
tetradic
#4138C0 #C03873 #B7C038 #38C085
square
#4138C0 #C03873 #B7C038 #38C085
split-complementary
#4138C0 #C08538 #73C038
monochromatic
#211C61 #312A91 #4138C0 #6B64D2 #9893DF

Accessibility & contrast

On white

8.23
#4138C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#4138C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4138C0
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4138C0#FFFFFF#000000##FFFFFF
##4138C01.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C4
Deuteranopia (green-blind)
#0049BD
Tritanopia (blue-blind)
#005D78
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4138c0;
/* rgb */ color: rgb(65, 56, 192);
/* oklch */ color: oklch(44.6% 0.203 277.2);
Tailwind
colors: {
  custom: {
    50: '#8670d4',
    500: '#4138c0',
    950: '#000000',
  },
}
SCSS
$custom: #4138c0;
$custom-light: #8670d4;
$custom-dark: #000000;
JSON
{
  "hex": "#4138c0",
  "rgb": {
    "r": 65,
    "g": 56,
    "b": 192
  },
  "hsl": {
    "h": 243.971,
    "s": 54.839,
    "l": 48.627
  },
  "oklch": {
    "l": 0.4457,
    "c": 0.20283,
    "h": 277.2
  },
  "luminance": 0.07758
}

Semantic roles & 50–950 ramp

primary
#4138C0
secondary
#C6CB89
accent
#DE4AD4
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0D0714
muted
#7D7A83

Preview Lab

Preview with #4138C0

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

Preview Lab → · Contrast checker → · Palette generator →

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