#4138BE#4138BE

#4138BE is a dark, highly saturated blue. Relative luminance 0.077; OKLCH L 44.4% C 0.200 H 277.4°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#4138BE
RGBrgb(65, 56, 190)
HSLhsl(244, 54%, 48%)
HSVhsv(244, 71%, 75%)
CMYKcmyk(65.8%, 70.5%, 0%, 25.5%)
CIE-LABlab(33.28, 44.43, -68.82)
CIE-LCHlch(33.28, 81.91, 302.85°)
OKLaboklab(44.38% 0.0258 -0.1987)
OKLCHoklch(44.38% 0.2 277.4)
XYZxyz(12.8854, 7.6688, 49.5064)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4138BE #B5BE38
analogous
#3872BE #4138BE #8438BE
triadic
#4138BE #BE4138 #38BE41
tetradic
#4138BE #BE3872 #B5BE38 #38BE84
square
#4138BE #BE3872 #B5BE38 #38BE84
split-complementary
#4138BE #BE8438 #72BE38
monochromatic
#211C5F #312A8F #4138BE #6A62D1 #9792DF

Accessibility & contrast

On white

8.29
#4138BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4138BE
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4138BE#FFFFFF#000000##FFFFFF
##4138BE1.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C2
Deuteranopia (green-blind)
#0049BC
Tritanopia (blue-blind)
#005D77
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4138be;
/* rgb */ color: rgb(65, 56, 190);
/* oklch */ color: oklch(44.4% 0.200 277.4);
Tailwind
colors: {
  custom: {
    50: '#8570d3',
    500: '#4138be',
    950: '#000000',
  },
}
SCSS
$custom: #4138be;
$custom-light: #8570d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4138be",
  "rgb": {
    "r": 65,
    "g": 56,
    "b": 190
  },
  "hsl": {
    "h": 244.03,
    "s": 54.472,
    "l": 48.235
  },
  "oklch": {
    "l": 0.44378,
    "c": 0.20037,
    "h": 277.4
  },
  "luminance": 0.0767
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4138BE

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

Preview Lab → · Contrast checker → · Palette generator →

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