#23255E#23255E

#23255E is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.9% C 0.100 H 277.0°. Best body text is #FFFFFF at 14.02:1 contrast (WCAG AA passes).

Color values

HEX#23255E
RGBrgb(35, 37, 94)
HSLhsl(238, 46%, 25%)
HSVhsv(238, 63%, 37%)
CMYKcmyk(62.8%, 60.6%, 0%, 63.1%)
CIE-LABlab(17.87, 18.36, -34.45)
CIE-LCHlch(17.87, 39.03, 298.05°)
OKLaboklab(29.93% 0.0122 -0.0988)
OKLCHoklch(29.93% 0.1 277)
XYZxyz(3.3744, 2.4884, 10.8900)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23255E #5E5C23
analogous
#23425E #23255E #3E235E
triadic
#23255E #5E2325 #255E23
tetradic
#23255E #5E2342 #5E5C23 #235E3E
square
#23255E #5E2342 #5E5C23 #235E3E
split-complementary
#23255E #5E3E23 #425E23
monochromatic
#080916 #121331 #23255E #34378B #4448B7

Accessibility & contrast

On white

14.02
#23255E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23255E
14.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23255E#FFFFFF#000000##FFFFFF
##23255E1.0014.021.5014.02
#FFFFFF14.021.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E60
Deuteranopia (green-blind)
#00295D
Tritanopia (blue-blind)
#00323D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #23255e;
/* rgb */ color: rgb(35, 37, 94);
/* oklch */ color: oklch(29.9% 0.100 277.0);
Tailwind
colors: {
  custom: {
    50: '#655f8c',
    500: '#23255e',
    950: '#000000',
  },
}
SCSS
$custom: #23255e;
$custom-light: #655f8c;
$custom-dark: #000000;
JSON
{
  "hex": "#23255e",
  "rgb": {
    "r": 35,
    "g": 37,
    "b": 94
  },
  "hsl": {
    "h": 237.966,
    "s": 45.736,
    "l": 25.294
  },
  "oklch": {
    "l": 0.29927,
    "c": 0.09958,
    "h": 277
  },
  "luminance": 0.02489
}

Semantic roles & 50–950 ramp

primary
#23255E
secondary
#928F4B
accent
#D152D5
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040C
muted
#7A797D

Preview Lab

Preview with #23255E

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

Preview Lab → · Contrast checker → · Palette generator →

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