#4256AC#4256AC

#4256AC is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.3% C 0.139 H 270.6°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#4256AC
RGBrgb(66, 86, 172)
HSLhsl(229, 45%, 47%)
HSVhsv(229, 62%, 67%)
CMYKcmyk(61.6%, 50%, 0%, 32.5%)
CIE-LABlab(39.23, 19.69, -48.52)
CIE-LCHlch(39.23, 52.36, 292.09°)
OKLaboklab(48.34% 0.0014 -0.1388)
OKLCHoklch(48.34% 0.139 270.6)
XYZxyz(13.0185, 10.7913, 40.4186)
Luminance0.1079 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4256AC #AC9842
analogous
#428BAC #4256AC #6342AC
triadic
#4256AC #AC4256 #56AC42
tetradic
#4256AC #AC428B #AC9842 #42AC63
square
#4256AC #AC428B #AC9842 #42AC63
split-complementary
#4256AC #AC6342 #8BAC42
monochromatic
#202A54 #314080 #4256AC #6778C5 #939FD6

Accessibility & contrast

On white

6.65
#4256AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#4256AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4256AC
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4256AC#FFFFFF#000000##FFFFFF
##4256AC1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2961AF
Deuteranopia (green-blind)
#1258AA
Tritanopia (blue-blind)
#006A79
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4256ac;
/* rgb */ color: rgb(66, 86, 172);
/* oklch */ color: oklch(48.3% 0.139 270.6);
Tailwind
colors: {
  custom: {
    50: '#8085c5',
    500: '#4256ac',
    950: '#000000',
  },
}
SCSS
$custom: #4256ac;
$custom-light: #8085c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4256ac",
  "rgb": {
    "r": 66,
    "g": 86,
    "b": 172
  },
  "hsl": {
    "h": 228.679,
    "s": 44.538,
    "l": 46.667
  },
  "oklch": {
    "l": 0.48342,
    "c": 0.13885,
    "h": 270.6
  },
  "luminance": 0.10792
}

Semantic roles & 50–950 ramp

primary
#4256AC
secondary
#C1B689
accent
#BC54D4
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #4256AC

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

Preview Lab → · Contrast checker → · Palette generator →

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