#23258F#23258F

#23258F is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.7% C 0.169 H 272.6°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#23258F
RGBrgb(35, 37, 143)
HSLhsl(239, 61%, 35%)
HSVhsv(239, 76%, 56%)
CMYKcmyk(75.5%, 74.1%, 0%, 43.9%)
CIE-LABlab(22.52, 36.41, -58.22)
CIE-LCHlch(22.52, 68.67, 302.02°)
OKLaboklab(34.74% 0.0075 -0.1685)
OKLCHoklch(34.74% 0.169 272.6)
XYZxyz(6.3110, 3.6630, 26.3557)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23258F #8F8D23
analogous
#235B8F #23258F #57238F
triadic
#23258F #8F2325 #258F23
tetradic
#23258F #8F235B #8F8D23 #238F57
square
#23258F #8F235B #8F8D23 #238F57
split-complementary
#23258F #8F5723 #5B8F23
monochromatic
#0B0C2D #17185E #23258F #2F32C0 #5759D6

Accessibility & contrast

On white

12.12
#23258F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23258F
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23258F#FFFFFF#000000##FFFFFF
##23258F1.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B92
Deuteranopia (green-blind)
#00318D
Tritanopia (blue-blind)
#004357
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #23258f;
/* rgb */ color: rgb(35, 37, 143);
/* oklch */ color: oklch(34.7% 0.169 272.6);
Tailwind
colors: {
  custom: {
    50: '#7061b1',
    500: '#23258f',
    950: '#000000',
  },
}
SCSS
$custom: #23258f;
$custom-light: #7061b1;
$custom-dark: #000000;
JSON
{
  "hex": "#23258f",
  "rgb": {
    "r": 35,
    "g": 37,
    "b": 143
  },
  "hsl": {
    "h": 238.889,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.34744,
    "c": 0.16864,
    "h": 272.6
  },
  "luminance": 0.03664
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #23258F

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

Preview Lab → · Contrast checker → · Palette generator →

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