#4238BC#4238BC

#4238BC is a dark, vivid blue. Relative luminance 0.076; OKLCH L 44.3% C 0.198 H 278.0°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#4238BC
RGBrgb(66, 56, 188)
HSLhsl(245, 54%, 48%)
HSVhsv(245, 70%, 74%)
CMYKcmyk(64.9%, 70.2%, 0%, 26.3%)
CIE-LABlab(33.17, 43.91, -67.82)
CIE-LCHlch(33.17, 80.80, 302.92°)
OKLaboklab(44.26% 0.0274 -0.1958)
OKLCHoklch(44.26% 0.198 278)
XYZxyz(12.7351, 7.6164, 48.3662)
Luminance0.0762 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4238BC #B2BC38
analogous
#3870BC #4238BC #8438BC
triadic
#4238BC #BC4238 #38BC42
tetradic
#4238BC #BC3870 #B2BC38 #38BC84
square
#4238BC #BC3870 #B2BC38 #38BC84
split-complementary
#4238BC #BC8438 #70BC38
monochromatic
#211C5E #312A8D #4238BC #6A61D0 #9690DE

Accessibility & contrast

On white

8.32
#4238BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#4238BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4238BC
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4238BC#FFFFFF#000000##FFFFFF
##4238BC1.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C0
Deuteranopia (green-blind)
#0048BA
Tritanopia (blue-blind)
#005C76
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4238bc;
/* rgb */ color: rgb(66, 56, 188);
/* oklch */ color: oklch(44.3% 0.198 278.0);
Tailwind
colors: {
  custom: {
    50: '#8670d1',
    500: '#4238bc',
    950: '#000000',
  },
}
SCSS
$custom: #4238bc;
$custom-light: #8670d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4238bc",
  "rgb": {
    "r": 66,
    "g": 56,
    "b": 188
  },
  "hsl": {
    "h": 244.545,
    "s": 54.098,
    "l": 47.843
  },
  "oklch": {
    "l": 0.4426,
    "c": 0.19767,
    "h": 278
  },
  "luminance": 0.07617
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4238BC

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

Preview Lab → · Contrast checker → · Palette generator →

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