#23258E#23258E

#23258E is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.6% C 0.167 H 272.6°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#23258E
RGBrgb(35, 37, 142)
HSLhsl(239, 60%, 35%)
HSVhsv(239, 75%, 56%)
CMYKcmyk(75.4%, 73.9%, 0%, 44.3%)
CIE-LABlab(22.42, 36.06, -57.78)
CIE-LCHlch(22.42, 68.11, 301.97°)
OKLaboklab(34.64% 0.0077 -0.1672)
OKLCHoklch(34.64% 0.167 272.6)
XYZxyz(6.2355, 3.6328, 25.9585)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23258E #8E8C23
analogous
#235A8E #23258E #57238E
triadic
#23258E #8E2325 #258E23
tetradic
#23258E #8E235A #8E8C23 #238E57
square
#23258E #8E235A #8E8C23 #238E57
split-complementary
#23258E #8E5723 #5A8E23
monochromatic
#0B0B2C #17185D #23258E #2F32BF #5658D5

Accessibility & contrast

On white

12.16
#23258E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#23258E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23258E
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23258E#FFFFFF#000000##FFFFFF
##23258E1.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B91
Deuteranopia (green-blind)
#00308C
Tritanopia (blue-blind)
#004357
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #23258e;
/* rgb */ color: rgb(35, 37, 142);
/* oklch */ color: oklch(34.6% 0.167 272.6);
Tailwind
colors: {
  custom: {
    50: '#7060b0',
    500: '#23258e',
    950: '#000000',
  },
}
SCSS
$custom: #23258e;
$custom-light: #7060b0;
$custom-dark: #000000;
JSON
{
  "hex": "#23258e",
  "rgb": {
    "r": 35,
    "g": 37,
    "b": 142
  },
  "hsl": {
    "h": 238.879,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.34637,
    "c": 0.16735,
    "h": 272.6
  },
  "luminance": 0.03633
}

Semantic roles & 50–950 ramp

primary
#23258E
secondary
#B9B853
accent
#E144E4
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #23258E

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

Preview Lab → · Contrast checker → · Palette generator →

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