#4138C3#4138C3

#4138C3 is a dark, highly saturated blue. Relative luminance 0.079; OKLCH L 44.9% C 0.207 H 276.9°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#4138C3
RGBrgb(65, 56, 195)
HSLhsl(244, 55%, 49%)
HSVhsv(244, 71%, 76%)
CMYKcmyk(66.7%, 71.3%, 0%, 23.5%)
CIE-LABlab(33.76, 46.04, -70.98)
CIE-LCHlch(33.76, 84.60, 302.97°)
OKLaboklab(44.86% 0.0249 -0.205)
OKLCHoklch(44.86% 0.207 276.9)
XYZxyz(13.4413, 7.8911, 52.4340)
Luminance0.0789 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4138C3 #BAC338
analogous
#3875C3 #4138C3 #8738C3
triadic
#4138C3 #C34138 #38C341
tetradic
#4138C3 #C33875 #BAC338 #38C387
square
#4138C3 #C33875 #BAC338 #38C387
split-complementary
#4138C3 #C38738 #75C338
monochromatic
#211D64 #312A93 #4138C3 #6C65D3 #9A95E1

Accessibility & contrast

On white

8.14
#4138C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#4138C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4138C3
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4138C3#FFFFFF#000000##FFFFFF
##4138C31.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C7
Deuteranopia (green-blind)
#0049C0
Tritanopia (blue-blind)
#005F7A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4138c3;
/* rgb */ color: rgb(65, 56, 195);
/* oklch */ color: oklch(44.9% 0.207 276.9);
Tailwind
colors: {
  custom: {
    50: '#8670d6',
    500: '#4138c3',
    950: '#000000',
  },
}
SCSS
$custom: #4138c3;
$custom-light: #8670d6;
$custom-dark: #000000;
JSON
{
  "hex": "#4138c3",
  "rgb": {
    "r": 65,
    "g": 56,
    "b": 195
  },
  "hsl": {
    "h": 243.885,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.44858,
    "c": 0.20652,
    "h": 276.9
  },
  "luminance": 0.07892
}

Semantic roles & 50–950 ramp

primary
#4138C3
secondary
#C8CC8B
accent
#DF49D5
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #4138C3

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

Preview Lab → · Contrast checker → · Palette generator →

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