#23255C#23255C

#23255C is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.8% C 0.096 H 277.2°. Best body text is #FFFFFF at 14.09:1 contrast (WCAG AA passes).

Color values

HEX#23255C
RGBrgb(35, 37, 92)
HSLhsl(238, 45%, 25%)
HSVhsv(238, 62%, 36%)
CMYKcmyk(62%, 59.8%, 0%, 63.9%)
CIE-LABlab(17.70, 17.61, -33.38)
CIE-LCHlch(17.70, 37.74, 297.81°)
OKLaboklab(29.76% 0.0121 -0.0957)
OKLCHoklch(29.76% 0.096 277.2)
XYZxyz(3.2859, 2.4529, 10.4235)
Luminance0.0245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23255C #5C5A23
analogous
#23415C #23255C #3E235C
triadic
#23255C #5C2325 #255C23
tetradic
#23255C #5C2341 #5C5A23 #235C3E
square
#23255C #5C2341 #5C5A23 #235C3E
split-complementary
#23255C #5C3E23 #415C23
monochromatic
#080916 #121330 #23255C #343788 #4549B5

Accessibility & contrast

On white

14.09
#23255C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#23255C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23255C
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23255C#FFFFFF#000000##FFFFFF
##23255C1.0014.091.4914.09
#FFFFFF14.091.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E5E
Deuteranopia (green-blind)
#00295B
Tritanopia (blue-blind)
#02323C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #23255c;
/* rgb */ color: rgb(35, 37, 92);
/* oklch */ color: oklch(29.8% 0.096 277.2);
Tailwind
colors: {
  custom: {
    50: '#645f8b',
    500: '#23255c',
    950: '#000000',
  },
}
SCSS
$custom: #23255c;
$custom-light: #645f8b;
$custom-dark: #000000;
JSON
{
  "hex": "#23255c",
  "rgb": {
    "r": 35,
    "g": 37,
    "b": 92
  },
  "hsl": {
    "h": 237.895,
    "s": 44.882,
    "l": 24.902
  },
  "oklch": {
    "l": 0.29755,
    "c": 0.09647,
    "h": 277.2
  },
  "luminance": 0.02453
}

Semantic roles & 50–950 ramp

primary
#23255C
secondary
#908D4B
accent
#D053D5
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040C
muted
#7A797D

Preview Lab

Preview with #23255C

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

Preview Lab → · Contrast checker → · Palette generator →

#23255C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva