#4155AF#4155AF

#4155AF is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.3% C 0.145 H 270.7°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#4155AF
RGBrgb(65, 85, 175)
HSLhsl(229, 46%, 47%)
HSVhsv(229, 63%, 69%)
CMYKcmyk(62.9%, 51.4%, 0%, 31.4%)
CIE-LABlab(39.10, 21.21, -50.51)
CIE-LCHlch(39.10, 54.78, 292.78°)
OKLaboklab(48.29% 0.0017 -0.1447)
OKLCHoklch(48.29% 0.145 270.7)
XYZxyz(13.1637, 10.7148, 41.9236)
Luminance0.1072 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4155AF #AF9B41
analogous
#418CAF #4155AF #6441AF
triadic
#4155AF #AF4155 #55AF41
tetradic
#4155AF #AF418C #AF9B41 #41AF64
square
#4155AF #AF418C #AF9B41 #41AF64
split-complementary
#4155AF #AF6441 #8CAF41
monochromatic
#202A56 #303F82 #4155AF #6778C6 #93A0D7

Accessibility & contrast

On white

6.68
#4155AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#4155AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4155AF
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4155AF#FFFFFF#000000##FFFFFF
##4155AF1.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2261B2
Deuteranopia (green-blind)
#0057AD
Tritanopia (blue-blind)
#006A7A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4155af;
/* rgb */ color: rgb(65, 85, 175);
/* oklch */ color: oklch(48.3% 0.145 270.7);
Tailwind
colors: {
  custom: {
    50: '#8084c7',
    500: '#4155af',
    950: '#000000',
  },
}
SCSS
$custom: #4155af;
$custom-light: #8084c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4155af",
  "rgb": {
    "r": 65,
    "g": 85,
    "b": 175
  },
  "hsl": {
    "h": 229.091,
    "s": 45.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.48291,
    "c": 0.14474,
    "h": 270.7
  },
  "luminance": 0.10716
}

Semantic roles & 50–950 ramp

primary
#4155AF
secondary
#C2B889
accent
#BE52D5
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #4155AF

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

Preview Lab → · Contrast checker → · Palette generator →

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