#4161BE#4161BE

#4161BE is a mid, vivid blue. Relative luminance 0.134; OKLCH L 51.8% C 0.151 H 266.8°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#4161BE
RGBrgb(65, 97, 190)
HSLhsl(225, 49%, 50%)
HSVhsv(225, 66%, 75%)
CMYKcmyk(65.8%, 48.9%, 0%, 25.5%)
CIE-LABlab(43.34, 18.81, -52.45)
CIE-LCHlch(43.34, 55.73, 289.73°)
OKLaboklab(51.83% -0.0083 -0.1503)
OKLCHoklch(51.83% 0.151 266.8)
XYZxyz(15.7457, 13.3894, 50.4598)
Luminance0.1339 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4161BE #BE9E41
analogous
#41A0BE #4161BE #5F41BE
triadic
#4161BE #BE4161 #61BE41
tetradic
#4161BE #BE41A0 #BE9E41 #41BE5F
square
#4161BE #BE41A0 #BE9E41 #41BE5F
split-complementary
#4161BE #BE5F41 #A0BE41
monochromatic
#223263 #314A90 #4161BE #6F87CE #9CADDD

Accessibility & contrast

On white

5.71
#4161BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#4161BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4161BE
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4161BE#FFFFFF#000000##FFFFFF
##4161BE1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F6CC1
Deuteranopia (green-blind)
#0F61BC
Tritanopia (blue-blind)
#007786
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4161be;
/* rgb */ color: rgb(65, 97, 190);
/* oklch */ color: oklch(51.8% 0.151 266.8);
Tailwind
colors: {
  custom: {
    50: '#838dd2',
    500: '#4161be',
    950: '#000000',
  },
}
SCSS
$custom: #4161be;
$custom-light: #838dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#4161be",
  "rgb": {
    "r": 65,
    "g": 97,
    "b": 190
  },
  "hsl": {
    "h": 224.64,
    "s": 49.02,
    "l": 50
  },
  "oklch": {
    "l": 0.51833,
    "c": 0.15052,
    "h": 266.8
  },
  "luminance": 0.13391
}

Semantic roles & 50–950 ramp

primary
#4161BE
secondary
#C9BB91
accent
#B54FD9
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83

Preview Lab

Preview with #4161BE

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

Preview Lab → · Contrast checker → · Palette generator →

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