#4255AF#4255AF

#4255AF is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.4% C 0.144 H 271.1°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#4255AF
RGBrgb(66, 85, 175)
HSLhsl(230, 45%, 47%)
HSVhsv(230, 62%, 69%)
CMYKcmyk(62.3%, 51.4%, 0%, 31.4%)
CIE-LABlab(39.16, 21.39, -50.41)
CIE-LCHlch(39.16, 54.76, 293.00°)
OKLaboklab(48.35% 0.0028 -0.1444)
OKLCHoklch(48.35% 0.144 271.1)
XYZxyz(13.2305, 10.7493, 41.9267)
Luminance0.1075 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4255AF #AF9C42
analogous
#428CAF #4255AF #6542AF
triadic
#4255AF #AF4255 #55AF42
tetradic
#4255AF #AF428C #AF9C42 #42AF65
square
#4255AF #AF428C #AF9C42 #42AF65
split-complementary
#4255AF #AF6542 #8CAF42
monochromatic
#202A56 #313F83 #4255AF #6878C6 #95A0D7

Accessibility & contrast

On white

6.67
#4255AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#4255AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4255AF
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4255AF#FFFFFF#000000##FFFFFF
##4255AF1.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4255af;
/* rgb */ color: rgb(66, 85, 175);
/* oklch */ color: oklch(48.4% 0.144 271.1);
Tailwind
colors: {
  custom: {
    50: '#8184c7',
    500: '#4255af',
    950: '#000000',
  },
}
SCSS
$custom: #4255af;
$custom-light: #8184c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4255af",
  "rgb": {
    "r": 66,
    "g": 85,
    "b": 175
  },
  "hsl": {
    "h": 229.541,
    "s": 45.228,
    "l": 47.255
  },
  "oklch": {
    "l": 0.48352,
    "c": 0.14445,
    "h": 271.1
  },
  "luminance": 0.1075
}

Semantic roles & 50–950 ramp

primary
#4255AF
secondary
#C2B98A
accent
#BE53D5
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #4255AF

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

Preview Lab → · Contrast checker → · Palette generator →

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