#23256E#23256E

#23256E is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.4% C 0.124 H 275.4°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#23256E
RGBrgb(35, 37, 110)
HSLhsl(238, 52%, 28%)
HSVhsv(238, 68%, 43%)
CMYKcmyk(68.2%, 66.4%, 0%, 56.9%)
CIE-LABlab(19.25, 24.39, -42.68)
CIE-LCHlch(19.25, 49.16, 299.74°)
OKLaboklab(31.38% 0.0117 -0.123)
OKLCHoklch(31.38% 0.124 275.4)
XYZxyz(4.1683, 2.8059, 15.0708)
Luminance0.0281 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23256E #6E6C23
analogous
#234A6E #23256E #46236E
triadic
#23256E #6E2325 #256E23
tetradic
#23256E #6E234A #6E6C23 #236E46
square
#23256E #6E234A #6E6C23 #236E46
split-complementary
#23256E #6E4623 #4A6E23
monochromatic
#070817 #141540 #23256E #32359C #474AC4

Accessibility & contrast

On white

13.45
#23256E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#23256E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23256E
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23256E#FFFFFF#000000##FFFFFF
##23256E1.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003270
Deuteranopia (green-blind)
#002B6D
Tritanopia (blue-blind)
#003845
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #23256e;
/* rgb */ color: rgb(35, 37, 110);
/* oklch */ color: oklch(31.4% 0.124 275.4);
Tailwind
colors: {
  custom: {
    50: '#685f98',
    500: '#23256e',
    950: '#000000',
  },
}
SCSS
$custom: #23256e;
$custom-light: #685f98;
$custom-dark: #000000;
JSON
{
  "hex": "#23256e",
  "rgb": {
    "r": 35,
    "g": 37,
    "b": 110
  },
  "hsl": {
    "h": 238.4,
    "s": 51.724,
    "l": 28.431
  },
  "oklch": {
    "l": 0.31381,
    "c": 0.12359,
    "h": 275.4
  },
  "luminance": 0.02806
}

Semantic roles & 50–950 ramp

primary
#23256E
secondary
#A19F4C
accent
#D74DDB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #23256E

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

Preview Lab → · Contrast checker → · Palette generator →

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