#23295F#23295F

#23295F is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.9% C 0.095 H 274.6°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#23295F
RGBrgb(35, 41, 95)
HSLhsl(234, 46%, 25%)
HSVhsv(234, 63%, 37%)
CMYKcmyk(63.2%, 56.8%, 0%, 62.7%)
CIE-LABlab(19.09, 15.88, -33.12)
CIE-LCHlch(19.09, 36.73, 295.61°)
OKLaboklab(30.87% 0.0077 -0.0949)
OKLCHoklch(30.87% 0.095 274.6)
XYZxyz(3.5510, 2.7692, 11.1716)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23295F #5F5923
analogous
#23475F #23295F #3B235F
triadic
#23295F #5F2329 #295F23
tetradic
#23295F #5F2347 #5F5923 #235F3B
square
#23295F #5F2347 #5F5923 #235F3B
split-complementary
#23295F #5F3B23 #475F23
monochromatic
#080A16 #131632 #23295F #333C8C #4450B8

Accessibility & contrast

On white

13.52
#23295F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23295F
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23295F#FFFFFF#000000##FFFFFF
##23295F1.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#083161
Deuteranopia (green-blind)
#002C5E
Tritanopia (blue-blind)
#00353F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #23295f;
/* rgb */ color: rgb(35, 41, 95);
/* oklch */ color: oklch(30.9% 0.095 274.6);
Tailwind
colors: {
  custom: {
    50: '#64628d',
    500: '#23295f',
    950: '#000000',
  },
}
SCSS
$custom: #23295f;
$custom-light: #64628d;
$custom-dark: #000000;
JSON
{
  "hex": "#23295f",
  "rgb": {
    "r": 35,
    "g": 41,
    "b": 95
  },
  "hsl": {
    "h": 234,
    "s": 46.154,
    "l": 25.49
  },
  "oklch": {
    "l": 0.3087,
    "c": 0.0952,
    "h": 274.6
  },
  "luminance": 0.02769
}

Semantic roles & 50–950 ramp

primary
#23295F
secondary
#938C4B
accent
#C952D6
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#06050C
muted
#7A797D

Preview Lab

Preview with #23295F

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

Preview Lab → · Contrast checker → · Palette generator →

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