#4142CB#4142CB

#4142CB is a mid, highly saturated blue. Relative luminance 0.093; OKLCH L 47.1% C 0.206 H 274.8°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#4142CB
RGBrgb(65, 66, 203)
HSLhsl(240, 57%, 53%)
HSVhsv(240, 68%, 80%)
CMYKcmyk(68%, 67.5%, 0%, 20.4%)
CIE-LABlab(36.61, 42.84, -70.95)
CIE-LCHlch(36.61, 82.88, 301.13°)
OKLaboklab(47.14% 0.0172 -0.2049)
OKLCHoklch(47.14% 0.206 274.8)
XYZxyz(14.9041, 9.3307, 57.5039)
Luminance0.0933 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4142CB #CBCA41
analogous
#4187CB #4142CB #8541CB
triadic
#4142CB #CB4142 #42CB41
tetradic
#4142CB #CB4187 #CBCA41 #41CB85
square
#4142CB #CB4187 #CBCA41 #41CB85
split-complementary
#4142CB #CB8541 #87CB41
monochromatic
#1F2072 #2C2DA2 #4142CB #7172D8 #A1A2E5

Accessibility & contrast

On white

7.33
#4142CB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#4142CB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4142CB
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4142CB#FFFFFF#000000##FFFFFF
##4142CB1.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCF
Deuteranopia (green-blind)
#0050C8
Tritanopia (blue-blind)
#006781
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4142cb;
/* rgb */ color: rgb(65, 66, 203);
/* oklch */ color: oklch(47.1% 0.206 274.8);
Tailwind
colors: {
  custom: {
    50: '#8777dc',
    500: '#4142cb',
    950: '#000000',
  },
}
SCSS
$custom: #4142cb;
$custom-light: #8777dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4142cb",
  "rgb": {
    "r": 65,
    "g": 66,
    "b": 203
  },
  "hsl": {
    "h": 239.565,
    "s": 57.025,
    "l": 52.549
  },
  "oklch": {
    "l": 0.47137,
    "c": 0.20565,
    "h": 274.8
  },
  "luminance": 0.09332
}

Semantic roles & 50–950 ramp

primary
#4142CB
secondary
#D2D196
accent
#DF48E0
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4142CB

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

Preview Lab → · Contrast checker → · Palette generator →

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