#23285D#23285D

#23285D is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.5% C 0.094 H 275.3°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#23285D
RGBrgb(35, 40, 93)
HSLhsl(235, 45%, 25%)
HSVhsv(235, 62%, 36%)
CMYKcmyk(62.4%, 57%, 0%, 63.5%)
CIE-LABlab(18.65, 15.83, -32.52)
CIE-LCHlch(18.65, 36.17, 295.96°)
OKLaboklab(30.49% 0.0087 -0.0931)
OKLCHoklch(30.49% 0.094 275.3)
XYZxyz(3.4271, 2.6650, 10.6876)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23285D #5D5823
analogous
#23455D #23285D #3B235D
triadic
#23285D #5D2328 #285D23
tetradic
#23285D #5D2345 #5D5823 #235D3B
square
#23285D #5D2345 #5D5823 #235D3B
split-complementary
#23285D #5D3B23 #455D23
monochromatic
#080A16 #121531 #23285D #343B89 #444EB6

Accessibility & contrast

On white

13.70
#23285D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#23285D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23285D
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23285D#FFFFFF#000000##FFFFFF
##23285D1.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08305F
Deuteranopia (green-blind)
#002B5C
Tritanopia (blue-blind)
#00343E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #23285d;
/* rgb */ color: rgb(35, 40, 93);
/* oklch */ color: oklch(30.5% 0.094 275.3);
Tailwind
colors: {
  custom: {
    50: '#64618b',
    500: '#23285d',
    950: '#000000',
  },
}
SCSS
$custom: #23285d;
$custom-light: #64618b;
$custom-dark: #000000;
JSON
{
  "hex": "#23285d",
  "rgb": {
    "r": 35,
    "g": 40,
    "b": 93
  },
  "hsl": {
    "h": 234.828,
    "s": 45.312,
    "l": 25.098
  },
  "oklch": {
    "l": 0.30487,
    "c": 0.09353,
    "h": 275.3
  },
  "luminance": 0.02665
}

Semantic roles & 50–950 ramp

primary
#23285D
secondary
#918B4B
accent
#CA53D5
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06050C
muted
#7A797D

Preview Lab

Preview with #23285D

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

Preview Lab → · Contrast checker → · Palette generator →

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