#4148AF#4148AF

#4148AF is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.7% C 0.162 H 275.1°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#4148AF
RGBrgb(65, 72, 175)
HSLhsl(236, 46%, 47%)
HSVhsv(236, 63%, 69%)
CMYKcmyk(62.9%, 58.9%, 0%, 31.4%)
CIE-LABlab(35.70, 29.60, -56.00)
CIE-LCHlch(35.70, 63.35, 297.86°)
OKLaboklab(45.75% 0.0143 -0.161)
OKLCHoklch(45.75% 0.162 275.1)
XYZxyz(12.2327, 8.8527, 41.6132)
Luminance0.0885 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4148AF #AFA841
analogous
#417FAF #4148AF #7141AF
triadic
#4148AF #AF4148 #48AF41
tetradic
#4148AF #AF417F #AFA841 #41AF71
square
#4148AF #AF417F #AFA841 #41AF71
split-complementary
#4148AF #AF7141 #7FAF41
monochromatic
#202356 #303682 #4148AF #676DC6 #9398D7

Accessibility & contrast

On white

7.58
#4148AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#4148AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4148AF
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4148AF#FFFFFF#000000##FFFFFF
##4148AF1.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B2
Deuteranopia (green-blind)
#004FAD
Tritanopia (blue-blind)
#006174
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4148af;
/* rgb */ color: rgb(65, 72, 175);
/* oklch */ color: oklch(45.7% 0.162 275.1);
Tailwind
colors: {
  custom: {
    50: '#817bc8',
    500: '#4148af',
    950: '#000000',
  },
}
SCSS
$custom: #4148af;
$custom-light: #817bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#4148af",
  "rgb": {
    "r": 65,
    "g": 72,
    "b": 175
  },
  "hsl": {
    "h": 236.182,
    "s": 45.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.45746,
    "c": 0.16168,
    "h": 275.1
  },
  "luminance": 0.08854
}

Semantic roles & 50–950 ramp

primary
#4148AF
secondary
#C2BF89
accent
#CD52D5
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #4148AF

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

Preview Lab → · Contrast checker → · Palette generator →

#4148AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva