#232585#232585

#232585 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.7% C 0.156 H 273.4°. Best body text is #FFFFFF at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#232585
RGBrgb(35, 37, 133)
HSLhsl(239, 58%, 33%)
HSVhsv(239, 74%, 52%)
CMYKcmyk(73.7%, 72.2%, 0%, 47.8%)
CIE-LABlab(21.48, 32.85, -53.69)
CIE-LCHlch(21.48, 62.95, 301.46°)
OKLaboklab(33.68% 0.0091 -0.1553)
OKLCHoklch(33.68% 0.156 273.4)
XYZxyz(5.5869, 3.3734, 22.5424)
Luminance0.0337 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232585 #858323
analogous
#235685 #232585 #522385
triadic
#232585 #852325 #258523
tetradic
#232585 #852356 #858323 #238552
square
#232585 #852356 #858323 #238552
split-complementary
#232585 #855223 #568523
monochromatic
#090A24 #161855 #232585 #3032B5 #5154D1

Accessibility & contrast

On white

12.54
#232585 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#232585 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232585
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232585#FFFFFF#000000##FFFFFF
##2325851.0012.541.6712.54
#FFFFFF12.541.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003888
Deuteranopia (green-blind)
#002F83
Tritanopia (blue-blind)
#004052
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #232585;
/* rgb */ color: rgb(35, 37, 133);
/* oklch */ color: oklch(33.7% 0.156 273.4);
Tailwind
colors: {
  custom: {
    50: '#6e60aa',
    500: '#232585',
    950: '#000000',
  },
}
SCSS
$custom: #232585;
$custom-light: #6e60aa;
$custom-dark: #000000;
JSON
{
  "hex": "#232585",
  "rgb": {
    "r": 35,
    "g": 37,
    "b": 133
  },
  "hsl": {
    "h": 238.776,
    "s": 58.333,
    "l": 32.941
  },
  "oklch": {
    "l": 0.33683,
    "c": 0.15554,
    "h": 273.4
  },
  "luminance": 0.03374
}

Semantic roles & 50–950 ramp

primary
#232585
secondary
#B5B34F
accent
#DE46E2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #232585

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

Preview Lab → · Contrast checker → · Palette generator →

#232585 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva