#4255AC#4255AC

#4255AC is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.1% C 0.140 H 271.0°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#4255AC
RGBrgb(66, 85, 172)
HSLhsl(229, 45%, 47%)
HSVhsv(229, 62%, 67%)
CMYKcmyk(61.6%, 50.6%, 0%, 32.5%)
CIE-LABlab(38.95, 20.34, -48.96)
CIE-LCHlch(38.95, 53.01, 292.56°)
OKLaboklab(48.14% 0.0025 -0.1401)
OKLCHoklch(48.14% 0.14 271)
XYZxyz(12.9392, 10.6327, 40.3922)
Luminance0.1063 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4255AC #AC9942
analogous
#428AAC #4255AC #6442AC
triadic
#4255AC #AC4255 #55AC42
tetradic
#4255AC #AC428A #AC9942 #42AC64
square
#4255AC #AC428A #AC9942 #42AC64
split-complementary
#4255AC #AC6442 #8AAC42
monochromatic
#202954 #313F80 #4255AC #6777C5 #939FD6

Accessibility & contrast

On white

6.72
#4255AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#4255AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4255AC
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4255AC#FFFFFF#000000##FFFFFF
##4255AC1.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2661AF
Deuteranopia (green-blind)
#0D57AA
Tritanopia (blue-blind)
#006978
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4255ac;
/* rgb */ color: rgb(66, 85, 172);
/* oklch */ color: oklch(48.1% 0.140 271.0);
Tailwind
colors: {
  custom: {
    50: '#8084c5',
    500: '#4255ac',
    950: '#000000',
  },
}
SCSS
$custom: #4255ac;
$custom-light: #8084c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4255ac",
  "rgb": {
    "r": 66,
    "g": 85,
    "b": 172
  },
  "hsl": {
    "h": 229.245,
    "s": 44.538,
    "l": 46.667
  },
  "oklch": {
    "l": 0.48136,
    "c": 0.14016,
    "h": 271
  },
  "luminance": 0.10634
}

Semantic roles & 50–950 ramp

primary
#4255AC
secondary
#C1B789
accent
#BD54D4
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #4255AC

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

Preview Lab → · Contrast checker → · Palette generator →

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