#4231AF#4231AF

#4231AF is a dark, vivid blue. Relative luminance 0.065; OKLCH L 42.0% C 0.189 H 280.6°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#4231AF
RGBrgb(66, 49, 175)
HSLhsl(248, 56%, 44%)
HSVhsv(248, 72%, 69%)
CMYKcmyk(62.3%, 72%, 0%, 31.4%)
CIE-LABlab(30.52, 43.74, -64.47)
CIE-LCHlch(30.52, 77.91, 304.16°)
OKLaboklab(42% 0.0348 -0.1859)
OKLCHoklch(42% 0.189 280.6)
XYZxyz(11.0805, 6.4492, 41.2100)
Luminance0.0645 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4231AF #9EAF31
analogous
#315FAF #4231AF #8131AF
triadic
#4231AF #AF4231 #31AF42
tetradic
#4231AF #AF315F #9EAF31 #31AF81
square
#4231AF #AF315F #9EAF31 #31AF81
split-complementary
#4231AF #AF8131 #5FAF31
monochromatic
#1E164F #30247F #4231AF #604FCE #8C7FDB

Accessibility & contrast

On white

9.17
#4231AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#4231AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4231AF
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4231AF#FFFFFF#000000##FFFFFF
##4231AF1.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB3
Deuteranopia (green-blind)
#0043AD
Tritanopia (blue-blind)
#00546D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4231af;
/* rgb */ color: rgb(66, 49, 175);
/* oklch */ color: oklch(42.0% 0.189 280.6);
Tailwind
colors: {
  custom: {
    50: '#846bc8',
    500: '#4231af',
    950: '#000000',
  },
}
SCSS
$custom: #4231af;
$custom-light: #846bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#4231af",
  "rgb": {
    "r": 66,
    "g": 49,
    "b": 175
  },
  "hsl": {
    "h": 248.095,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.41996,
    "c": 0.18913,
    "h": 280.6
  },
  "luminance": 0.0645
}

Semantic roles & 50–950 ramp

primary
#4231AF
secondary
#BAC478
accent
#E048CB
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4231AF

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

Preview Lab → · Contrast checker → · Palette generator →

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