#4254CB#4254CB

#4254CB is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.3% C 0.184 H 271.5°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#4254CB
RGBrgb(66, 84, 203)
HSLhsl(232, 57%, 53%)
HSVhsv(232, 67%, 80%)
CMYKcmyk(67.5%, 58.6%, 0%, 20.4%)
CIE-LABlab(40.91, 31.88, -63.92)
CIE-LCHlch(40.91, 71.43, 296.50°)
OKLaboklab(50.31% 0.005 -0.1842)
OKLCHoklch(50.31% 0.184 271.5)
XYZxyz(16.1929, 11.8092, 57.9144)
Luminance0.1181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4254CB #CBB942
analogous
#4298CB #4254CB #7542CB
triadic
#4254CB #CB4254 #54CB42
tetradic
#4254CB #CB4298 #CBB942 #42CB75
square
#4254CB #CB4298 #CBB942 #42CB75
split-complementary
#4254CB #CB7542 #98CB42
monochromatic
#202B73 #2D3CA3 #4254CB #727FD8 #A2ABE5

Accessibility & contrast

On white

6.25
#4254CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#4254CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4254CB
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4254CB#FFFFFF#000000##FFFFFF
##4254CB1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CF
Deuteranopia (green-blind)
#005AC9
Tritanopia (blue-blind)
#007187
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4254cb;
/* rgb */ color: rgb(66, 84, 203);
/* oklch */ color: oklch(50.3% 0.184 271.5);
Tailwind
colors: {
  custom: {
    50: '#8684dc',
    500: '#4254cb',
    950: '#000000',
  },
}
SCSS
$custom: #4254cb;
$custom-light: #8684dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4254cb",
  "rgb": {
    "r": 66,
    "g": 84,
    "b": 203
  },
  "hsl": {
    "h": 232.117,
    "s": 56.846,
    "l": 52.745
  },
  "oklch": {
    "l": 0.50306,
    "c": 0.18425,
    "h": 271.5
  },
  "luminance": 0.11811
}

Semantic roles & 50–950 ramp

primary
#4254CB
secondary
#D2CA97
accent
#CC48E0
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0D0A15
muted
#7D7C83

Preview Lab

Preview with #4254CB

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

Preview Lab → · Contrast checker → · Palette generator →

#4254CB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva