#23256F#23256F

#23256F is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.5% C 0.125 H 275.3°. Best body text is #FFFFFF at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#23256F
RGBrgb(35, 37, 111)
HSLhsl(238, 52%, 29%)
HSVhsv(238, 68%, 44%)
CMYKcmyk(68.5%, 66.7%, 0%, 56.5%)
CIE-LABlab(19.34, 24.76, -43.18)
CIE-LCHlch(19.34, 49.78, 299.83°)
OKLaboklab(31.48% 0.0116 -0.1245)
OKLCHoklch(31.48% 0.125 275.3)
XYZxyz(4.2230, 2.8278, 15.3591)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23256F #6F6D23
analogous
#234B6F #23256F #47236F
triadic
#23256F #6F2325 #256F23
tetradic
#23256F #6F234B #6F6D23 #236F47
square
#23256F #6F234B #6F6D23 #236F47
split-complementary
#23256F #6F4723 #4B6F23
monochromatic
#070817 #141540 #23256F #32359E #474BC5

Accessibility & contrast

On white

13.41
#23256F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#23256F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23256F
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23256F#FFFFFF#000000##FFFFFF
##23256F1.0013.411.5713.41
#FFFFFF13.411.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003271
Deuteranopia (green-blind)
#002C6E
Tritanopia (blue-blind)
#003846
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #23256f;
/* rgb */ color: rgb(35, 37, 111);
/* oklch */ color: oklch(31.5% 0.125 275.3);
Tailwind
colors: {
  custom: {
    50: '#685f99',
    500: '#23256f',
    950: '#000000',
  },
}
SCSS
$custom: #23256f;
$custom-light: #685f99;
$custom-dark: #000000;
JSON
{
  "hex": "#23256f",
  "rgb": {
    "r": 35,
    "g": 37,
    "b": 111
  },
  "hsl": {
    "h": 238.421,
    "s": 52.055,
    "l": 28.627
  },
  "oklch": {
    "l": 0.31477,
    "c": 0.12503,
    "h": 275.3
  },
  "luminance": 0.02828
}

Semantic roles & 50–950 ramp

primary
#23256F
secondary
#A2A04C
accent
#D84CDB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #23256F

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

Preview Lab → · Contrast checker → · Palette generator →

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