#4256AF#4256AF

#4256AF is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.6% C 0.143 H 270.7°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#4256AF
RGBrgb(66, 86, 175)
HSLhsl(229, 45%, 47%)
HSVhsv(229, 62%, 69%)
CMYKcmyk(62.3%, 50.9%, 0%, 31.4%)
CIE-LABlab(39.42, 20.75, -49.97)
CIE-LCHlch(39.42, 54.11, 292.54°)
OKLaboklab(48.56% 0.0018 -0.1431)
OKLCHoklch(48.56% 0.143 270.7)
XYZxyz(13.3098, 10.9079, 41.9532)
Luminance0.1091 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4256AF #AF9B42
analogous
#428CAF #4256AF #6542AF
triadic
#4256AF #AF4256 #56AF42
tetradic
#4256AF #AF428C #AF9B42 #42AF65
square
#4256AF #AF428C #AF9B42 #42AF65
split-complementary
#4256AF #AF6542 #8CAF42
monochromatic
#202A56 #314083 #4256AF #6879C6 #95A1D7

Accessibility & contrast

On white

6.60
#4256AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#4256AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4256AF
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4256AF#FFFFFF#000000##FFFFFF
##4256AF1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2562B2
Deuteranopia (green-blind)
#0858AD
Tritanopia (blue-blind)
#006B7A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4256af;
/* rgb */ color: rgb(66, 86, 175);
/* oklch */ color: oklch(48.6% 0.143 270.7);
Tailwind
colors: {
  custom: {
    50: '#8185c7',
    500: '#4256af',
    950: '#000000',
  },
}
SCSS
$custom: #4256af;
$custom-light: #8185c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4256af",
  "rgb": {
    "r": 66,
    "g": 86,
    "b": 175
  },
  "hsl": {
    "h": 228.991,
    "s": 45.228,
    "l": 47.255
  },
  "oklch": {
    "l": 0.48556,
    "c": 0.14313,
    "h": 270.7
  },
  "luminance": 0.10909
}

Semantic roles & 50–950 ramp

primary
#4256AF
secondary
#C2B88A
accent
#BD53D5
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #4256AF

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

Preview Lab → · Contrast checker → · Palette generator →

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