#4138BD#4138BD

#4138BD is a dark, vivid blue. Relative luminance 0.076; OKLCH L 44.3% C 0.199 H 277.5°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#4138BD
RGBrgb(65, 56, 189)
HSLhsl(244, 54%, 48%)
HSVhsv(244, 70%, 74%)
CMYKcmyk(65.6%, 70.4%, 0%, 25.9%)
CIE-LABlab(33.19, 44.11, -68.38)
CIE-LCHlch(33.19, 81.37, 302.82°)
OKLaboklab(44.28% 0.026 -0.1974)
OKLCHoklch(44.28% 0.199 277.5)
XYZxyz(12.7765, 7.6252, 48.9328)
Luminance0.0763 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4138BD #B4BD38
analogous
#3871BD #4138BD #8338BD
triadic
#4138BD #BD4138 #38BD41
tetradic
#4138BD #BD3871 #B4BD38 #38BD83
square
#4138BD #BD3871 #B4BD38 #38BD83
split-complementary
#4138BD #BD8338 #71BD38
monochromatic
#211C5F #312A8E #4138BD #6962D0 #9691DE

Accessibility & contrast

On white

8.32
#4138BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#4138BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4138BD
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4138BD#FFFFFF#000000##FFFFFF
##4138BD1.008.322.538.32
#FFFFFF8.321.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C1
Deuteranopia (green-blind)
#0048BB
Tritanopia (blue-blind)
#005C76
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4138bd;
/* rgb */ color: rgb(65, 56, 189);
/* oklch */ color: oklch(44.3% 0.199 277.5);
Tailwind
colors: {
  custom: {
    50: '#8570d2',
    500: '#4138bd',
    950: '#000000',
  },
}
SCSS
$custom: #4138bd;
$custom-light: #8570d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4138bd",
  "rgb": {
    "r": 65,
    "g": 56,
    "b": 189
  },
  "hsl": {
    "h": 244.06,
    "s": 54.286,
    "l": 48.039
  },
  "oklch": {
    "l": 0.44283,
    "c": 0.19912,
    "h": 277.5
  },
  "luminance": 0.07626
}

Semantic roles & 50–950 ramp

primary
#4138BD
secondary
#C5C987
accent
#DE4AD4
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #4138BD

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

Preview Lab → · Contrast checker → · Palette generator →

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