#4238BD#4238BD

#4238BD is a dark, vivid blue. Relative luminance 0.077; OKLCH L 44.4% C 0.199 H 277.9°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#4238BD
RGBrgb(66, 56, 189)
HSLhsl(245, 54%, 48%)
HSVhsv(245, 70%, 74%)
CMYKcmyk(65.1%, 70.4%, 0%, 25.9%)
CIE-LABlab(33.26, 44.23, -68.26)
CIE-LCHlch(33.26, 81.34, 302.94°)
OKLaboklab(44.36% 0.0273 -0.197)
OKLCHoklch(44.36% 0.199 277.9)
XYZxyz(12.8433, 7.6597, 48.9359)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4238BD #B3BD38
analogous
#3871BD #4238BD #8438BD
triadic
#4238BD #BD4238 #38BD42
tetradic
#4238BD #BD3871 #B3BD38 #38BD84
square
#4238BD #BD3871 #B3BD38 #38BD84
split-complementary
#4238BD #BD8438 #71BD38
monochromatic
#211C5F #322A8E #4238BD #6A62D0 #9791DE

Accessibility & contrast

On white

8.29
#4238BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#4238BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4238BD
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4238BD#FFFFFF#000000##FFFFFF
##4238BD1.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C1
Deuteranopia (green-blind)
#0049BB
Tritanopia (blue-blind)
#005C76
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4238bd;
/* rgb */ color: rgb(66, 56, 189);
/* oklch */ color: oklch(44.4% 0.199 277.9);
Tailwind
colors: {
  custom: {
    50: '#8670d2',
    500: '#4238bd',
    950: '#000000',
  },
}
SCSS
$custom: #4238bd;
$custom-light: #8670d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4238bd",
  "rgb": {
    "r": 66,
    "g": 56,
    "b": 189
  },
  "hsl": {
    "h": 244.511,
    "s": 54.286,
    "l": 48.039
  },
  "oklch": {
    "l": 0.44355,
    "c": 0.19891,
    "h": 277.9
  },
  "luminance": 0.07661
}

Semantic roles & 50–950 ramp

primary
#4238BD
secondary
#C4C987
accent
#DE4AD3
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #4238BD

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

Preview Lab → · Contrast checker → · Palette generator →

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