#23295D#23295D

#23295D is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.7% C 0.092 H 274.7°. Best body text is #FFFFFF at 13.58:1 contrast (WCAG AA passes).

Color values

HEX#23295D
RGBrgb(35, 41, 93)
HSLhsl(234, 45%, 25%)
HSVhsv(234, 62%, 36%)
CMYKcmyk(62.4%, 55.9%, 0%, 63.5%)
CIE-LABlab(18.94, 15.12, -32.05)
CIE-LCHlch(18.94, 35.43, 295.25°)
OKLaboklab(30.71% 0.0075 -0.0917)
OKLCHoklch(30.71% 0.092 274.7)
XYZxyz(3.4612, 2.7333, 10.6990)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23295D #5D5723
analogous
#23465D #23295D #3A235D
triadic
#23295D #5D2329 #295D23
tetradic
#23295D #5D2346 #5D5723 #235D3A
square
#23295D #5D2346 #5D5723 #235D3A
split-complementary
#23295D #5D3A23 #465D23
monochromatic
#080A16 #121531 #23295D #343D89 #4450B6

Accessibility & contrast

On white

13.58
#23295D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#23295D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23295D
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23295D#FFFFFF#000000##FFFFFF
##23295D1.0013.581.5513.58
#FFFFFF13.581.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B315F
Deuteranopia (green-blind)
#012C5C
Tritanopia (blue-blind)
#00353E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #23295d;
/* rgb */ color: rgb(35, 41, 93);
/* oklch */ color: oklch(30.7% 0.092 274.7);
Tailwind
colors: {
  custom: {
    50: '#64628b',
    500: '#23295d',
    950: '#000000',
  },
}
SCSS
$custom: #23295d;
$custom-light: #64628b;
$custom-dark: #000000;
JSON
{
  "hex": "#23295d",
  "rgb": {
    "r": 35,
    "g": 41,
    "b": 93
  },
  "hsl": {
    "h": 233.793,
    "s": 45.312,
    "l": 25.098
  },
  "oklch": {
    "l": 0.30707,
    "c": 0.09203,
    "h": 274.7
  },
  "luminance": 0.02734
}

Semantic roles & 50–950 ramp

primary
#23295D
secondary
#918A4B
accent
#C853D5
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#06050C
muted
#7A797D

Preview Lab

Preview with #23295D

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

Preview Lab → · Contrast checker → · Palette generator →

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