#4237AF#4237AF

#4237AF is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.9% C 0.182 H 279.5°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#4237AF
RGBrgb(66, 55, 175)
HSLhsl(246, 52%, 45%)
HSVhsv(246, 69%, 69%)
CMYKcmyk(62.3%, 68.6%, 0%, 31.4%)
CIE-LABlab(31.77, 40.29, -62.41)
CIE-LCHlch(31.77, 74.28, 302.85°)
OKLaboklab(42.89% 0.0302 -0.1799)
OKLCHoklch(42.89% 0.182 279.5)
XYZxyz(11.3484, 6.9849, 41.2993)
Luminance0.0699 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4237AF #A4AF37
analogous
#3768AF #4237AF #7E37AF
triadic
#4237AF #AF4237 #37AF42
tetradic
#4237AF #AF3768 #A4AF37 #37AF7E
square
#4237AF #AF3768 #A4AF37 #37AF7E
split-complementary
#4237AF #AF7E37 #68AF37
monochromatic
#1F1A52 #302880 #4237AF #6359CB #8F87D9

Accessibility & contrast

On white

8.76
#4237AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#4237AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4237AF
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4237AF#FFFFFF#000000##FFFFFF
##4237AF1.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB3
Deuteranopia (green-blind)
#0046AD
Tritanopia (blue-blind)
#00576E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4237af;
/* rgb */ color: rgb(66, 55, 175);
/* oklch */ color: oklch(42.9% 0.182 279.5);
Tailwind
colors: {
  custom: {
    50: '#836fc8',
    500: '#4237af',
    950: '#000000',
  },
}
SCSS
$custom: #4237af;
$custom-light: #836fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#4237af",
  "rgb": {
    "r": 66,
    "g": 55,
    "b": 175
  },
  "hsl": {
    "h": 245.5,
    "s": 52.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.42894,
    "c": 0.18242,
    "h": 279.5
  },
  "luminance": 0.06986
}

Semantic roles & 50–950 ramp

primary
#4237AF
secondary
#BDC37F
accent
#DC4CCE
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4237AF

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

Preview Lab → · Contrast checker → · Palette generator →

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