#23255F#23255F

#23255F is a dark, moderate blue. Relative luminance 0.025; OKLCH L 30.0% C 0.101 H 276.9°. Best body text is #FFFFFF at 13.99:1 contrast (WCAG AA passes).

Color values

HEX#23255F
RGBrgb(35, 37, 95)
HSLhsl(238, 46%, 25%)
HSVhsv(238, 63%, 37%)
CMYKcmyk(63.2%, 61.1%, 0%, 62.7%)
CIE-LABlab(17.95, 18.74, -34.98)
CIE-LCHlch(17.95, 39.68, 298.18°)
OKLaboklab(30.01% 0.0122 -0.1004)
OKLCHoklch(30.01% 0.101 276.9)
XYZxyz(3.4196, 2.5064, 11.1278)
Luminance0.0251 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23255F #5F5D23
analogous
#23435F #23255F #3F235F
triadic
#23255F #5F2325 #255F23
tetradic
#23255F #5F2343 #5F5D23 #235F3F
square
#23255F #5F2343 #5F5D23 #235F3F
split-complementary
#23255F #5F3F23 #435F23
monochromatic
#080916 #131432 #23255F #33368C #4448B8

Accessibility & contrast

On white

13.99
#23255F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#23255F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23255F
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23255F#FFFFFF#000000##FFFFFF
##23255F1.0013.991.5013.99
#FFFFFF13.991.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E61
Deuteranopia (green-blind)
#00295E
Tritanopia (blue-blind)
#00333E
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #23255f;
/* rgb */ color: rgb(35, 37, 95);
/* oklch */ color: oklch(30.0% 0.101 276.9);
Tailwind
colors: {
  custom: {
    50: '#655f8d',
    500: '#23255f',
    950: '#000000',
  },
}
SCSS
$custom: #23255f;
$custom-light: #655f8d;
$custom-dark: #000000;
JSON
{
  "hex": "#23255f",
  "rgb": {
    "r": 35,
    "g": 37,
    "b": 95
  },
  "hsl": {
    "h": 238,
    "s": 46.154,
    "l": 25.49
  },
  "oklch": {
    "l": 0.30013,
    "c": 0.10113,
    "h": 276.9
  },
  "luminance": 0.02507
}

Semantic roles & 50–950 ramp

primary
#23255F
secondary
#93904B
accent
#D152D6
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040C
muted
#7A797D

Preview Lab

Preview with #23255F

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

Preview Lab → · Contrast checker → · Palette generator →

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