#4238BF#4238BF

#4238BF is a dark, highly saturated blue. Relative luminance 0.077; OKLCH L 44.5% C 0.201 H 277.7°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#4238BF
RGBrgb(66, 56, 191)
HSLhsl(244, 55%, 48%)
HSVhsv(244, 71%, 75%)
CMYKcmyk(65.4%, 70.7%, 0%, 25.1%)
CIE-LABlab(33.45, 44.87, -69.13)
CIE-LCHlch(33.45, 82.42, 302.99°)
OKLaboklab(44.55% 0.0269 -0.1996)
OKLCHoklch(44.55% 0.201 277.7)
XYZxyz(13.0619, 7.7471, 50.0871)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4238BF #B5BF38
analogous
#3872BF #4238BF #8538BF
triadic
#4238BF #BF4238 #38BF42
tetradic
#4238BF #BF3872 #B5BF38 #38BF85
square
#4238BF #BF3872 #B5BF38 #38BF85
split-complementary
#4238BF #BF8538 #72BF38
monochromatic
#211C60 #322A90 #4238BF #6B63D1 #9892DF

Accessibility & contrast

On white

8.24
#4238BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#4238BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4238BF
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4238BF#FFFFFF#000000##FFFFFF
##4238BF1.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C3
Deuteranopia (green-blind)
#0049BC
Tritanopia (blue-blind)
#005D77
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4238bf;
/* rgb */ color: rgb(66, 56, 191);
/* oklch */ color: oklch(44.5% 0.201 277.7);
Tailwind
colors: {
  custom: {
    50: '#8670d3',
    500: '#4238bf',
    950: '#000000',
  },
}
SCSS
$custom: #4238bf;
$custom-light: #8670d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4238bf",
  "rgb": {
    "r": 66,
    "g": 56,
    "b": 191
  },
  "hsl": {
    "h": 244.444,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.44545,
    "c": 0.20139,
    "h": 277.7
  },
  "luminance": 0.07748
}

Semantic roles & 50–950 ramp

primary
#4238BF
secondary
#C5CA89
accent
#DE4AD3
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0D0714
muted
#7D7A83

Preview Lab

Preview with #4238BF

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

Preview Lab → · Contrast checker → · Palette generator →

#4238BF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva