#232875#232875

#232875 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.6% C 0.130 H 273.8°. Best body text is #FFFFFF at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#232875
RGBrgb(35, 40, 117)
HSLhsl(236, 54%, 30%)
HSVhsv(236, 70%, 46%)
CMYKcmyk(70.1%, 65.8%, 0%, 54.1%)
CIE-LABlab(20.67, 24.97, -44.87)
CIE-LCHlch(20.67, 51.35, 299.09°)
OKLaboklab(32.62% 0.0087 -0.1294)
OKLCHoklch(32.62% 0.13 273.8)
XYZxyz(4.6617, 3.1588, 17.1902)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232875 #757023
analogous
#235175 #232875 #472375
triadic
#232875 #752328 #287523
tetradic
#232875 #752351 #757023 #237547
square
#232875 #752351 #757023 #237547
split-complementary
#232875 #754723 #517523
monochromatic
#070818 #151846 #232875 #3138A4 #4A51C9

Accessibility & contrast

On white

12.87
#232875 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#232875 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232875
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232875#FFFFFF#000000##FFFFFF
##2328751.0012.871.6312.87
#FFFFFF12.871.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003677
Deuteranopia (green-blind)
#002E74
Tritanopia (blue-blind)
#003C4A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #232875;
/* rgb */ color: rgb(35, 40, 117);
/* oklch */ color: oklch(32.6% 0.130 273.8);
Tailwind
colors: {
  custom: {
    50: '#6a629d',
    500: '#232875',
    950: '#000000',
  },
}
SCSS
$custom: #232875;
$custom-light: #6a629d;
$custom-dark: #000000;
JSON
{
  "hex": "#232875",
  "rgb": {
    "r": 35,
    "g": 40,
    "b": 117
  },
  "hsl": {
    "h": 236.341,
    "s": 53.947,
    "l": 29.804
  },
  "oklch": {
    "l": 0.3262,
    "c": 0.12973,
    "h": 273.8
  },
  "luminance": 0.03159
}

Semantic roles & 50–950 ramp

primary
#232875
secondary
#A8A24C
accent
#D44ADD
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #232875

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

Preview Lab → · Contrast checker → · Palette generator →

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