#4237B8#4237B8

#4237B8 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.7% C 0.194 H 278.5°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#4237B8
RGBrgb(66, 55, 184)
HSLhsl(245, 54%, 47%)
HSVhsv(245, 70%, 72%)
CMYKcmyk(64.1%, 70.1%, 0%, 27.8%)
CIE-LABlab(32.59, 43.20, -66.41)
CIE-LCHlch(32.59, 79.23, 303.04°)
OKLaboklab(43.73% 0.0288 -0.1916)
OKLCHoklch(43.73% 0.194 278.5)
XYZxyz(12.2619, 7.3503, 46.1107)
Luminance0.0735 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4237B8 #ADB837
analogous
#376DB8 #4237B8 #8337B8
triadic
#4237B8 #B84237 #37B842
tetradic
#4237B8 #B8376D #ADB837 #37B883
square
#4237B8 #B8376D #ADB837 #37B883
split-complementary
#4237B8 #B88337 #6DB837
monochromatic
#201B5A #312989 #4237B8 #675DCF #938DDD

Accessibility & contrast

On white

8.50
#4237B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#4237B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4237B8
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4237B8#FFFFFF#000000##FFFFFF
##4237B81.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BC
Deuteranopia (green-blind)
#0047B6
Tritanopia (blue-blind)
#005A73
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4237b8;
/* rgb */ color: rgb(66, 55, 184);
/* oklch */ color: oklch(43.7% 0.194 278.5);
Tailwind
colors: {
  custom: {
    50: '#856fce',
    500: '#4237b8',
    950: '#000000',
  },
}
SCSS
$custom: #4237b8;
$custom-light: #856fce;
$custom-dark: #000000;
JSON
{
  "hex": "#4237b8",
  "rgb": {
    "r": 66,
    "g": 55,
    "b": 184
  },
  "hsl": {
    "h": 245.116,
    "s": 53.975,
    "l": 46.863
  },
  "oklch": {
    "l": 0.43732,
    "c": 0.19378,
    "h": 278.5
  },
  "luminance": 0.07351
}

Semantic roles & 50–950 ramp

primary
#4237B8
secondary
#C1C784
accent
#DD4AD1
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #4237B8

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

Preview Lab → · Contrast checker → · Palette generator →

#4237B8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva