#4255B2#4255B2

#4255B2 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.6% C 0.149 H 271.2°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#4255B2
RGBrgb(66, 85, 178)
HSLhsl(230, 46%, 48%)
HSVhsv(230, 63%, 70%)
CMYKcmyk(62.9%, 52.2%, 0%, 30.2%)
CIE-LABlab(39.36, 22.45, -51.85)
CIE-LCHlch(39.36, 56.50, 293.41°)
OKLaboklab(48.57% 0.003 -0.1487)
OKLCHoklch(48.57% 0.149 271.2)
XYZxyz(13.5285, 10.8685, 43.4957)
Luminance0.1087 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4255B2 #B29F42
analogous
#428DB2 #4255B2 #6742B2
triadic
#4255B2 #B24255 #55B242
tetradic
#4255B2 #B2428D #B29F42 #42B267
square
#4255B2 #B2428D #B29F42 #42B267
split-complementary
#4255B2 #B26742 #8DB242
monochromatic
#212A59 #314085 #4255B2 #6A7AC8 #96A1D8

Accessibility & contrast

On white

6.62
#4255B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#4255B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4255B2#FFFFFF#000000##FFFFFF
##4255B21.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E62B5
Deuteranopia (green-blind)
#0058B0
Tritanopia (blue-blind)
#006B7B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4255b2;
/* rgb */ color: rgb(66, 85, 178);
/* oklch */ color: oklch(48.6% 0.149 271.2);
Tailwind
colors: {
  custom: {
    50: '#8284ca',
    500: '#4255b2',
    950: '#000000',
  },
}
SCSS
$custom: #4255b2;
$custom-light: #8284ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4255b2",
  "rgb": {
    "r": 66,
    "g": 85,
    "b": 178
  },
  "hsl": {
    "h": 229.821,
    "s": 45.902,
    "l": 47.843
  },
  "oklch": {
    "l": 0.4857,
    "c": 0.14869,
    "h": 271.2
  },
  "luminance": 0.1087
}

Semantic roles & 50–950 ramp

primary
#4255B2
secondary
#C4BA8C
accent
#BF52D6
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #4255B2

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

Preview Lab → · Contrast checker → · Palette generator →

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