#4255BA#4255BA

#4255BA is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.2% C 0.160 H 271.3°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#4255BA
RGBrgb(66, 85, 186)
HSLhsl(231, 48%, 49%)
HSVhsv(231, 65%, 73%)
CMYKcmyk(64.5%, 54.3%, 0%, 27.1%)
CIE-LABlab(39.91, 25.26, -55.65)
CIE-LCHlch(39.91, 61.12, 294.42°)
OKLaboklab(49.17% 0.0036 -0.1598)
OKLCHoklch(49.17% 0.16 271.3)
XYZxyz(14.3552, 11.1992, 47.8500)
Luminance0.1120 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4255BA #BAA742
analogous
#4291BA #4255BA #6B42BA
triadic
#4255BA #BA4255 #55BA42
tetradic
#4255BA #BA4291 #BAA742 #42BA6B
square
#4255BA #BA4291 #BAA742 #42BA6B
split-complementary
#4255BA #BA6B42 #91BA42
monochromatic
#222C60 #32408D #4255BA #6E7DCB #9BA5DB

Accessibility & contrast

On white

6.48
#4255BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#4255BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4255BA#FFFFFF#000000##FFFFFF
##4255BA1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B64BE
Deuteranopia (green-blind)
#0059B8
Tritanopia (blue-blind)
#006D7F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4255ba;
/* rgb */ color: rgb(66, 85, 186);
/* oklch */ color: oklch(49.2% 0.160 271.3);
Tailwind
colors: {
  custom: {
    50: '#8384cf',
    500: '#4255ba',
    950: '#000000',
  },
}
SCSS
$custom: #4255ba;
$custom-light: #8384cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4255ba",
  "rgb": {
    "r": 66,
    "g": 85,
    "b": 186
  },
  "hsl": {
    "h": 230.5,
    "s": 47.619,
    "l": 49.412
  },
  "oklch": {
    "l": 0.49165,
    "c": 0.15989,
    "h": 271.3
  },
  "luminance": 0.112
}

Semantic roles & 50–950 ramp

primary
#4255BA
secondary
#C8BF90
accent
#C251D7
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0A14
muted
#7D7C82

Preview Lab

Preview with #4255BA

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

Preview Lab → · Contrast checker → · Palette generator →

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