#23256D#23256D

#23256D is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.3% C 0.122 H 275.5°. Best body text is #FFFFFF at 13.49:1 contrast (WCAG AA passes).

Color values

HEX#23256D
RGBrgb(35, 37, 109)
HSLhsl(238, 51%, 28%)
HSVhsv(238, 68%, 43%)
CMYKcmyk(67.9%, 66.1%, 0%, 57.3%)
CIE-LABlab(19.16, 24.01, -42.18)
CIE-LCHlch(19.16, 48.54, 299.65°)
OKLaboklab(31.29% 0.0118 -0.1216)
OKLCHoklch(31.29% 0.122 275.5)
XYZxyz(4.1141, 2.7842, 14.7856)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23256D #6D6B23
analogous
#234A6D #23256D #46236D
triadic
#23256D #6D2325 #256D23
tetradic
#23256D #6D234A #6D6B23 #236D46
square
#23256D #6D234A #6D6B23 #236D46
split-complementary
#23256D #6D4623 #4A6D23
monochromatic
#070817 #14153F #23256D #32359B #474AC4

Accessibility & contrast

On white

13.49
#23256D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23256D
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23256D#FFFFFF#000000##FFFFFF
##23256D1.0013.491.5613.49
#FFFFFF13.491.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326F
Deuteranopia (green-blind)
#002B6C
Tritanopia (blue-blind)
#003745
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #23256d;
/* rgb */ color: rgb(35, 37, 109);
/* oklch */ color: oklch(31.3% 0.122 275.5);
Tailwind
colors: {
  custom: {
    50: '#685f98',
    500: '#23256d',
    950: '#000000',
  },
}
SCSS
$custom: #23256d;
$custom-light: #685f98;
$custom-dark: #000000;
JSON
{
  "hex": "#23256d",
  "rgb": {
    "r": 35,
    "g": 37,
    "b": 109
  },
  "hsl": {
    "h": 238.378,
    "s": 51.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.31286,
    "c": 0.12214,
    "h": 275.5
  },
  "luminance": 0.02785
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #23256D

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

Preview Lab → · Contrast checker → · Palette generator →

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