#23257E#23257E

#23257E is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.0% C 0.146 H 274.0°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#23257E
RGBrgb(35, 37, 126)
HSLhsl(239, 57%, 32%)
HSVhsv(239, 72%, 49%)
CMYKcmyk(72.2%, 70.6%, 0%, 50.6%)
CIE-LABlab(20.78, 30.31, -50.44)
CIE-LCHlch(20.78, 58.84, 301.01°)
OKLaboklab(32.96% 0.0101 -0.1457)
OKLCHoklch(32.96% 0.146 274)
XYZxyz(5.1193, 3.1863, 20.0799)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23257E #7E7C23
analogous
#23537E #23257E #4F237E
triadic
#23257E #7E2325 #257E23
tetradic
#23257E #7E2353 #7E7C23 #237E4F
square
#23257E #7E2353 #7E7C23 #237E4F
split-complementary
#23257E #7E4F23 #537E23
monochromatic
#08091E #16174E #23257E #3033AE #4E50CE

Accessibility & contrast

On white

12.83
#23257E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#23257E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23257E
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23257E#FFFFFF#000000##FFFFFF
##23257E1.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003681
Deuteranopia (green-blind)
#002E7C
Tritanopia (blue-blind)
#003D4E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #23257e;
/* rgb */ color: rgb(35, 37, 126);
/* oklch */ color: oklch(33.0% 0.146 274.0);
Tailwind
colors: {
  custom: {
    50: '#6c60a4',
    500: '#23257e',
    950: '#000000',
  },
}
SCSS
$custom: #23257e;
$custom-light: #6c60a4;
$custom-dark: #000000;
JSON
{
  "hex": "#23257e",
  "rgb": {
    "r": 35,
    "g": 37,
    "b": 126
  },
  "hsl": {
    "h": 238.681,
    "s": 56.522,
    "l": 31.569
  },
  "oklch": {
    "l": 0.3296,
    "c": 0.1461,
    "h": 274
  },
  "luminance": 0.03187
}

Semantic roles & 50–950 ramp

primary
#23257E
secondary
#B0AE4C
accent
#DC48E0
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08050F
muted
#7A797F

Preview Lab

Preview with #23257E

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

Preview Lab → · Contrast checker → · Palette generator →

#23257E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva