#4235AF#4235AF

#4235AF is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.6% C 0.185 H 279.9°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#4235AF
RGBrgb(66, 53, 175)
HSLhsl(246, 54%, 45%)
HSVhsv(246, 70%, 69%)
CMYKcmyk(62.3%, 69.7%, 0%, 31.4%)
CIE-LABlab(31.34, 41.46, -63.11)
CIE-LCHlch(31.34, 75.51, 303.30°)
OKLaboklab(42.59% 0.0318 -0.182)
OKLCHoklch(42.59% 0.185 279.9)
XYZxyz(11.2553, 6.7988, 41.2683)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4235AF #A2AF35
analogous
#3565AF #4235AF #7F35AF
triadic
#4235AF #AF4235 #35AF42
tetradic
#4235AF #AF3565 #A2AF35 #35AF7F
square
#4235AF #AF3565 #A2AF35 #35AF7F
split-complementary
#4235AF #AF7F35 #65AF35
monochromatic
#1F1951 #302780 #4235AF #6256CC #8E85DA

Accessibility & contrast

On white

8.90
#4235AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#4235AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4235AF
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4235AF#FFFFFF#000000##FFFFFF
##4235AF1.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB3
Deuteranopia (green-blind)
#0045AD
Tritanopia (blue-blind)
#00566E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4235af;
/* rgb */ color: rgb(66, 53, 175);
/* oklch */ color: oklch(42.6% 0.185 279.9);
Tailwind
colors: {
  custom: {
    50: '#836ec8',
    500: '#4235af',
    950: '#000000',
  },
}
SCSS
$custom: #4235af;
$custom-light: #836ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#4235af",
  "rgb": {
    "r": 66,
    "g": 53,
    "b": 175
  },
  "hsl": {
    "h": 246.393,
    "s": 53.509,
    "l": 44.706
  },
  "oklch": {
    "l": 0.42586,
    "c": 0.18471,
    "h": 279.9
  },
  "luminance": 0.068
}

Semantic roles & 50–950 ramp

primary
#4235AF
secondary
#BCC47C
accent
#DD4BCD
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4235AF

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

Preview Lab → · Contrast checker → · Palette generator →

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