#232899#232899

#232899 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.3% C 0.178 H 271.4°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#232899
RGBrgb(35, 40, 153)
HSLhsl(237, 63%, 37%)
HSVhsv(237, 77%, 60%)
CMYKcmyk(77.1%, 73.9%, 0%, 40%)
CIE-LABlab(24.24, 38.12, -61.57)
CIE-LCHlch(24.24, 72.41, 301.76°)
OKLaboklab(36.29% 0.0045 -0.1782)
OKLCHoklch(36.29% 0.178 271.4)
XYZxyz(7.1998, 4.1740, 30.5570)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232899 #999423
analogous
#236399 #232899 #592399
triadic
#232899 #992328 #289923
tetradic
#232899 #992363 #999423 #239959
square
#232899 #992363 #999423 #239959
split-complementary
#232899 #995923 #639923
monochromatic
#0C0E35 #181B67 #232899 #2E35CB #5D62DA

Accessibility & contrast

On white

11.44
#232899 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#232899 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232899
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232899#FFFFFF#000000##FFFFFF
##2328991.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9C
Deuteranopia (green-blind)
#003497
Tritanopia (blue-blind)
#00485E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #232899;
/* rgb */ color: rgb(35, 40, 153);
/* oklch */ color: oklch(36.3% 0.178 271.4);
Tailwind
colors: {
  custom: {
    50: '#7363b8',
    500: '#232899',
    950: '#000000',
  },
}
SCSS
$custom: #232899;
$custom-light: #7363b8;
$custom-dark: #000000;
JSON
{
  "hex": "#232899",
  "rgb": {
    "r": 35,
    "g": 40,
    "b": 153
  },
  "hsl": {
    "h": 237.458,
    "s": 62.766,
    "l": 36.863
  },
  "oklch": {
    "l": 0.36286,
    "c": 0.17828,
    "h": 271.4
  },
  "luminance": 0.04175
}

Semantic roles & 50–950 ramp

primary
#232899
secondary
#BEBA59
accent
#DF42E6
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090512
muted
#7B7981

Preview Lab

Preview with #232899

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

Preview Lab → · Contrast checker → · Palette generator →

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