#232985#232985

#232985 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.4% C 0.151 H 272.5°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#232985
RGBrgb(35, 41, 133)
HSLhsl(236, 58%, 33%)
HSVhsv(236, 74%, 52%)
CMYKcmyk(73.7%, 69.2%, 0%, 47.8%)
CIE-LABlab(22.43, 30.27, -52.13)
CIE-LCHlch(22.43, 60.29, 300.14°)
OKLaboklab(34.37% 0.0065 -0.1507)
OKLCHoklch(34.37% 0.151 272.5)
XYZxyz(5.7183, 3.6361, 22.5862)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232985 #857F23
analogous
#235A85 #232985 #4E2385
triadic
#232985 #852329 #298523
tetradic
#232985 #85235A #857F23 #23854E
square
#232985 #85235A #857F23 #23854E
split-complementary
#232985 #854E23 #5A8523
monochromatic
#090B24 #161A55 #232985 #3038B5 #5159D1

Accessibility & contrast

On white

12.16
#232985 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#232985 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232985
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232985#FFFFFF#000000##FFFFFF
##2329851.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A88
Deuteranopia (green-blind)
#003183
Tritanopia (blue-blind)
#004253
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #232985;
/* rgb */ color: rgb(35, 41, 133);
/* oklch */ color: oklch(34.4% 0.151 272.5);
Tailwind
colors: {
  custom: {
    50: '#6d63a9',
    500: '#232985',
    950: '#000000',
  },
}
SCSS
$custom: #232985;
$custom-light: #6d63a9;
$custom-dark: #000000;
JSON
{
  "hex": "#232985",
  "rgb": {
    "r": 35,
    "g": 41,
    "b": 133
  },
  "hsl": {
    "h": 236.327,
    "s": 58.333,
    "l": 32.941
  },
  "oklch": {
    "l": 0.34369,
    "c": 0.15085,
    "h": 272.5
  },
  "luminance": 0.03637
}

Semantic roles & 50–950 ramp

primary
#232985
secondary
#B5AF4F
accent
#D846E2
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #232985

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

Preview Lab → · Contrast checker → · Palette generator →

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