#4255B7#4255B7

#4255B7 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.9% C 0.156 H 271.3°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#4255B7
RGBrgb(66, 85, 183)
HSLhsl(230, 47%, 49%)
HSVhsv(230, 64%, 72%)
CMYKcmyk(63.9%, 53.6%, 0%, 28.2%)
CIE-LABlab(39.70, 24.21, -54.24)
CIE-LCHlch(39.70, 59.39, 294.05°)
OKLaboklab(48.94% 0.0034 -0.1557)
OKLCHoklch(48.94% 0.156 271.3)
XYZxyz(14.0396, 11.0729, 46.1880)
Luminance0.1107 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4255B7 #B7A442
analogous
#4290B7 #4255B7 #6A42B7
triadic
#4255B7 #B74255 #55B742
tetradic
#4255B7 #B74290 #B7A442 #42B76A
square
#4255B7 #B74290 #B7A442 #42B76A
split-complementary
#4255B7 #B76A42 #90B742
monochromatic
#222B5D #32408A #4255B7 #6C7BCA #99A4DA

Accessibility & contrast

On white

6.53
#4255B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#4255B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4255B7#FFFFFF#000000##FFFFFF
##4255B71.006.533.216.53
#FFFFFF6.531.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1463BA
Deuteranopia (green-blind)
#0059B5
Tritanopia (blue-blind)
#006C7E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4255b7;
/* rgb */ color: rgb(66, 85, 183);
/* oklch */ color: oklch(48.9% 0.156 271.3);
Tailwind
colors: {
  custom: {
    50: '#8284cd',
    500: '#4255b7',
    950: '#000000',
  },
}
SCSS
$custom: #4255b7;
$custom-light: #8284cd;
$custom-dark: #000000;
JSON
{
  "hex": "#4255b7",
  "rgb": {
    "r": 66,
    "g": 85,
    "b": 183
  },
  "hsl": {
    "h": 230.256,
    "s": 46.988,
    "l": 48.824
  },
  "oklch": {
    "l": 0.4894,
    "c": 0.15571,
    "h": 271.3
  },
  "luminance": 0.11074
}

Semantic roles & 50–950 ramp

primary
#4255B7
secondary
#C6BD8F
accent
#C151D7
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #4255B7

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

Preview Lab → · Contrast checker → · Palette generator →

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