#4255AA#4255AA

#4255AA is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.0% C 0.137 H 270.9°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#4255AA
RGBrgb(66, 85, 170)
HSLhsl(229, 44%, 46%)
HSVhsv(229, 61%, 67%)
CMYKcmyk(61.2%, 50%, 0%, 33.3%)
CIE-LABlab(38.82, 19.64, -47.98)
CIE-LCHlch(38.82, 51.85, 292.26°)
OKLaboklab(47.99% 0.0022 -0.1373)
OKLCHoklch(47.99% 0.137 270.9)
XYZxyz(12.7485, 10.5565, 39.3882)
Luminance0.1056 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4255AA #AA9742
analogous
#4289AA #4255AA #6342AA
triadic
#4255AA #AA4255 #55AA42
tetradic
#4255AA #AA4289 #AA9742 #42AA63
square
#4255AA #AA4289 #AA9742 #42AA63
split-complementary
#4255AA #AA6342 #89AA42
monochromatic
#202952 #313F7E #4255AA #6677C3 #929ED5

Accessibility & contrast

On white

6.75
#4255AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#4255AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4255AA#FFFFFF#000000##FFFFFF
##4255AA1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2860AD
Deuteranopia (green-blind)
#1357A8
Tritanopia (blue-blind)
#006877
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4255aa;
/* rgb */ color: rgb(66, 85, 170);
/* oklch */ color: oklch(48.0% 0.137 270.9);
Tailwind
colors: {
  custom: {
    50: '#8084c4',
    500: '#4255aa',
    950: '#000000',
  },
}
SCSS
$custom: #4255aa;
$custom-light: #8084c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4255aa",
  "rgb": {
    "r": 66,
    "g": 85,
    "b": 170
  },
  "hsl": {
    "h": 229.038,
    "s": 44.068,
    "l": 46.275
  },
  "oklch": {
    "l": 0.47994,
    "c": 0.1373,
    "h": 270.9
  },
  "luminance": 0.10558
}

Semantic roles & 50–950 ramp

primary
#4255AA
secondary
#C0B688
accent
#BC54D4
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #4255AA

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

Preview Lab → · Contrast checker → · Palette generator →

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