#4238BE#4238BE

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

Color values

HEX#4238BE
RGBrgb(66, 56, 190)
HSLhsl(244, 54%, 48%)
HSVhsv(244, 71%, 75%)
CMYKcmyk(65.3%, 70.5%, 0%, 25.5%)
CIE-LABlab(33.36, 44.55, -68.70)
CIE-LCHlch(33.36, 81.88, 302.97°)
OKLaboklab(44.45% 0.0271 -0.1983)
OKLCHoklch(44.45% 0.2 277.8)
XYZxyz(12.9522, 7.7032, 49.5095)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4238BE #B4BE38
analogous
#3871BE #4238BE #8538BE
triadic
#4238BE #BE4238 #38BE42
tetradic
#4238BE #BE3871 #B4BE38 #38BE85
square
#4238BE #BE3871 #B4BE38 #38BE85
split-complementary
#4238BE #BE8538 #71BE38
monochromatic
#211C5F #322A8F #4238BE #6B62D1 #9792DF

Accessibility & contrast

On white

8.27
#4238BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#4238BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4238BE
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4238BE#FFFFFF#000000##FFFFFF
##4238BE1.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4238be;
/* rgb */ color: rgb(66, 56, 190);
/* oklch */ color: oklch(44.5% 0.200 277.8);
Tailwind
colors: {
  custom: {
    50: '#8670d3',
    500: '#4238be',
    950: '#000000',
  },
}
SCSS
$custom: #4238be;
$custom-light: #8670d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4238be",
  "rgb": {
    "r": 66,
    "g": 56,
    "b": 190
  },
  "hsl": {
    "h": 244.478,
    "s": 54.472,
    "l": 48.235
  },
  "oklch": {
    "l": 0.4445,
    "c": 0.20015,
    "h": 277.8
  },
  "luminance": 0.07704
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4238BE

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

Preview Lab → · Contrast checker → · Palette generator →

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