#4130B2#4130B2

#4130B2 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 42.1% C 0.194 H 279.9°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#4130B2
RGBrgb(65, 48, 178)
HSLhsl(248, 58%, 44%)
HSVhsv(248, 73%, 70%)
CMYKcmyk(63.5%, 73%, 0%, 30.2%)
CIE-LABlab(30.52, 45.11, -66.25)
CIE-LCHlch(30.52, 80.15, 304.25°)
OKLaboklab(42.07% 0.0335 -0.1912)
OKLCHoklch(42.07% 0.194 279.9)
XYZxyz(11.2703, 6.4512, 42.7621)
Luminance0.0645 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4130B2 #A1B230
analogous
#3060B2 #4130B2 #8230B2
triadic
#4130B2 #B24130 #30B241
tetradic
#4130B2 #B23060 #A1B230 #30B282
square
#4130B2 #B23060 #A1B230 #30B282
split-complementary
#4130B2 #B28230 #60B230
monochromatic
#1E1652 #2F2382 #4130B2 #6050D0 #8C80DD

Accessibility & contrast

On white

9.17
#4130B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#4130B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4130B2
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4130B2#FFFFFF#000000##FFFFFF
##4130B21.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB6
Deuteranopia (green-blind)
#0043B0
Tritanopia (blue-blind)
#00546E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4130b2;
/* rgb */ color: rgb(65, 48, 178);
/* oklch */ color: oklch(42.1% 0.194 279.9);
Tailwind
colors: {
  custom: {
    50: '#846bca',
    500: '#4130b2',
    950: '#000000',
  },
}
SCSS
$custom: #4130b2;
$custom-light: #846bca;
$custom-dark: #000000;
JSON
{
  "hex": "#4130b2",
  "rgb": {
    "r": 65,
    "g": 48,
    "b": 178
  },
  "hsl": {
    "h": 247.846,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.42065,
    "c": 0.19407,
    "h": 279.9
  },
  "luminance": 0.06452
}

Semantic roles & 50–950 ramp

primary
#4130B2
secondary
#BBC678
accent
#E147CD
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4130B2

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

Preview Lab → · Contrast checker → · Palette generator →

#4130B2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva