#23245F#23245F

#23245F is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.8% C 0.103 H 277.4°. Best body text is #FFFFFF at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#23245F
RGBrgb(35, 36, 95)
HSLhsl(239, 46%, 25%)
HSVhsv(239, 63%, 37%)
CMYKcmyk(63.2%, 62.1%, 0%, 62.7%)
CIE-LABlab(17.67, 19.44, -35.43)
CIE-LCHlch(17.67, 40.41, 298.76°)
OKLaboklab(29.81% 0.0133 -0.1017)
OKLCHoklch(29.81% 0.103 277.4)
XYZxyz(3.3889, 2.4451, 11.1176)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23245F #5F5E23
analogous
#23425F #23245F #40235F
triadic
#23245F #5F2324 #245F23
tetradic
#23245F #5F2342 #5F5E23 #235F40
square
#23245F #5F2342 #5F5E23 #235F40
split-complementary
#23245F #5F4023 #425F23
monochromatic
#080816 #131332 #23245F #33358C #4446B8

Accessibility & contrast

On white

14.10
#23245F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#23245F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23245F
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23245F#FFFFFF#000000##FFFFFF
##23245F1.0014.101.4914.10
#FFFFFF14.101.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E61
Deuteranopia (green-blind)
#00295E
Tritanopia (blue-blind)
#00323D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #23245f;
/* rgb */ color: rgb(35, 36, 95);
/* oklch */ color: oklch(29.8% 0.103 277.4);
Tailwind
colors: {
  custom: {
    50: '#655e8d',
    500: '#23245f',
    950: '#000000',
  },
}
SCSS
$custom: #23245f;
$custom-light: #655e8d;
$custom-dark: #000000;
JSON
{
  "hex": "#23245f",
  "rgb": {
    "r": 35,
    "g": 36,
    "b": 95
  },
  "hsl": {
    "h": 239,
    "s": 46.154,
    "l": 25.49
  },
  "oklch": {
    "l": 0.29806,
    "c": 0.10261,
    "h": 277.4
  },
  "luminance": 0.02445
}

Semantic roles & 50–950 ramp

primary
#23245F
secondary
#93924B
accent
#D452D6
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040C
muted
#7A797D

Preview Lab

Preview with #23245F

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

Preview Lab → · Contrast checker → · Palette generator →

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