#23257F#23257F

#23257F is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.1% C 0.147 H 273.9°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#23257F
RGBrgb(35, 37, 127)
HSLhsl(239, 57%, 32%)
HSVhsv(239, 72%, 50%)
CMYKcmyk(72.4%, 70.9%, 0%, 50.2%)
CIE-LABlab(20.87, 30.68, -50.91)
CIE-LCHlch(20.87, 59.43, 301.07°)
OKLaboklab(33.06% 0.01 -0.1471)
OKLCHoklch(33.06% 0.147 273.9)
XYZxyz(5.1842, 3.2123, 20.4214)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23257F #7F7D23
analogous
#23537F #23257F #4F237F
triadic
#23257F #7F2325 #257F23
tetradic
#23257F #7F2353 #7F7D23 #237F4F
square
#23257F #7F2353 #7F7D23 #237F4F
split-complementary
#23257F #7F4F23 #537F23
monochromatic
#09091F #16174F #23257F #3033AF #4E51CE

Accessibility & contrast

On white

12.78
#23257F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23257F
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23257F#FFFFFF#000000##FFFFFF
##23257F1.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003682
Deuteranopia (green-blind)
#002E7D
Tritanopia (blue-blind)
#003D4F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #23257f;
/* rgb */ color: rgb(35, 37, 127);
/* oklch */ color: oklch(33.1% 0.147 273.9);
Tailwind
colors: {
  custom: {
    50: '#6c60a5',
    500: '#23257f',
    950: '#000000',
  },
}
SCSS
$custom: #23257f;
$custom-light: #6c60a5;
$custom-dark: #000000;
JSON
{
  "hex": "#23257f",
  "rgb": {
    "r": 35,
    "g": 37,
    "b": 127
  },
  "hsl": {
    "h": 238.696,
    "s": 56.79,
    "l": 31.765
  },
  "oklch": {
    "l": 0.33063,
    "c": 0.14746,
    "h": 273.9
  },
  "luminance": 0.03213
}

Semantic roles & 50–950 ramp

primary
#23257F
secondary
#B1AF4C
accent
#DD48E0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08050F
muted
#7B797F

Preview Lab

Preview with #23257F

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

Preview Lab → · Contrast checker → · Palette generator →

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