#4256BC#4256BC

#4256BC is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.5% C 0.161 H 271.0°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#4256BC
RGBrgb(66, 86, 188)
HSLhsl(230, 48%, 50%)
HSVhsv(230, 65%, 74%)
CMYKcmyk(64.9%, 54.3%, 0%, 26.3%)
CIE-LABlab(40.32, 25.33, -56.17)
CIE-LCHlch(40.32, 61.62, 294.27°)
OKLaboklab(49.51% 0.0028 -0.1613)
OKLCHoklch(49.51% 0.161 271)
XYZxyz(14.6486, 11.4434, 49.0040)
Luminance0.1144 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4256BC #BCA842
analogous
#4293BC #4256BC #6B42BC
triadic
#4256BC #BC4256 #56BC42
tetradic
#4256BC #BC4293 #BCA842 #42BC6B
square
#4256BC #BC4293 #BCA842 #42BC6B
split-complementary
#4256BC #BC6B42 #93BC42
monochromatic
#222D61 #32418F #4256BC #6F7ECC #9CA7DC

Accessibility & contrast

On white

6.38
#4256BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#4256BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4256BC
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4256BC#FFFFFF#000000##FFFFFF
##4256BC1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B65C0
Deuteranopia (green-blind)
#005ABA
Tritanopia (blue-blind)
#006E80
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4256bc;
/* rgb */ color: rgb(66, 86, 188);
/* oklch */ color: oklch(49.5% 0.161 271.0);
Tailwind
colors: {
  custom: {
    50: '#8385d1',
    500: '#4256bc',
    950: '#000000',
  },
}
SCSS
$custom: #4256bc;
$custom-light: #8385d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4256bc",
  "rgb": {
    "r": 66,
    "g": 86,
    "b": 188
  },
  "hsl": {
    "h": 230.164,
    "s": 48.031,
    "l": 49.804
  },
  "oklch": {
    "l": 0.49514,
    "c": 0.16137,
    "h": 271
  },
  "luminance": 0.11445
}

Semantic roles & 50–950 ramp

primary
#4256BC
secondary
#C9BF91
accent
#C150D8
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #4256BC

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

Preview Lab → · Contrast checker → · Palette generator →

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