#4254B2#4254B2

#4254B2 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.4% C 0.150 H 271.5°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#4254B2
RGBrgb(66, 84, 178)
HSLhsl(230, 46%, 48%)
HSVhsv(230, 63%, 70%)
CMYKcmyk(62.9%, 52.8%, 0%, 30.2%)
CIE-LABlab(39.09, 23.09, -52.28)
CIE-LCHlch(39.09, 57.16, 293.83°)
OKLaboklab(48.37% 0.004 -0.1499)
OKLCHoklch(48.37% 0.15 271.5)
XYZxyz(13.4503, 10.7121, 43.4697)
Luminance0.1071 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4254B2 #B2A042
analogous
#428CB2 #4254B2 #6842B2
triadic
#4254B2 #B24254 #54B242
tetradic
#4254B2 #B2428C #B2A042 #42B268
square
#4254B2 #B2428C #B2A042 #42B268
split-complementary
#4254B2 #B26842 #8CB242
monochromatic
#212A59 #313F85 #4254B2 #6A79C8 #96A1D8

Accessibility & contrast

On white

6.68
#4254B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#4254B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4254B2
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4254B2#FFFFFF#000000##FFFFFF
##4254B21.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A61B5
Deuteranopia (green-blind)
#0057B0
Tritanopia (blue-blind)
#006A7B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4254b2;
/* rgb */ color: rgb(66, 84, 178);
/* oklch */ color: oklch(48.4% 0.150 271.5);
Tailwind
colors: {
  custom: {
    50: '#8283ca',
    500: '#4254b2',
    950: '#000000',
  },
}
SCSS
$custom: #4254b2;
$custom-light: #8283ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4254b2",
  "rgb": {
    "r": 66,
    "g": 84,
    "b": 178
  },
  "hsl": {
    "h": 230.357,
    "s": 45.902,
    "l": 47.843
  },
  "oklch": {
    "l": 0.48369,
    "c": 0.14999,
    "h": 271.5
  },
  "luminance": 0.10713
}

Semantic roles & 50–950 ramp

primary
#4254B2
secondary
#C4BB8C
accent
#C052D6
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #4254B2

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

Preview Lab → · Contrast checker → · Palette generator →

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