#4230AF#4230AF

#4230AF is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.9% C 0.190 H 280.8°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#4230AF
RGBrgb(66, 48, 175)
HSLhsl(249, 57%, 44%)
HSVhsv(249, 73%, 69%)
CMYKcmyk(62.3%, 72.6%, 0%, 31.4%)
CIE-LABlab(30.32, 44.30, -64.79)
CIE-LCHlch(30.32, 78.49, 304.36°)
OKLaboklab(41.85% 0.0355 -0.1869)
OKLCHoklch(41.85% 0.19 280.8)
XYZxyz(11.0391, 6.3665, 41.1963)
Luminance0.0637 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4230AF #9DAF30
analogous
#305DAF #4230AF #8130AF
triadic
#4230AF #AF4230 #30AF42
tetradic
#4230AF #AF305D #9DAF30 #30AF81
square
#4230AF #AF305D #9DAF30 #30AF81
split-complementary
#4230AF #AF8130 #5DAF30
monochromatic
#1E164F #30237F #4230AF #604ECE #8B7EDC

Accessibility & contrast

On white

9.24
#4230AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#4230AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4230AF
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4230AF#FFFFFF#000000##FFFFFF
##4230AF1.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB3
Deuteranopia (green-blind)
#0043AD
Tritanopia (blue-blind)
#00536C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4230af;
/* rgb */ color: rgb(66, 48, 175);
/* oklch */ color: oklch(41.9% 0.190 280.8);
Tailwind
colors: {
  custom: {
    50: '#846bc8',
    500: '#4230af',
    950: '#000000',
  },
}
SCSS
$custom: #4230af;
$custom-light: #846bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#4230af",
  "rgb": {
    "r": 66,
    "g": 48,
    "b": 175
  },
  "hsl": {
    "h": 248.504,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.41854,
    "c": 0.19021,
    "h": 280.8
  },
  "luminance": 0.06367
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4230AF

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

Preview Lab → · Contrast checker → · Palette generator →

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