#232799#232799

#232799 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.1% C 0.179 H 271.6°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#232799
RGBrgb(35, 39, 153)
HSLhsl(238, 63%, 37%)
HSVhsv(238, 77%, 60%)
CMYKcmyk(77.1%, 74.5%, 0%, 40%)
CIE-LABlab(24.02, 38.72, -61.92)
CIE-LCHlch(24.02, 73.03, 302.02°)
OKLaboklab(36.13% 0.0049 -0.1792)
OKLCHoklch(36.13% 0.179 271.6)
XYZxyz(7.1665, 4.1075, 30.5459)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232799 #999523
analogous
#236299 #232799 #5A2399
triadic
#232799 #992327 #279923
tetradic
#232799 #992362 #999523 #23995A
square
#232799 #992362 #999523 #23995A
split-complementary
#232799 #995A23 #629923
monochromatic
#0C0E35 #181A67 #232799 #2E34CB #5D61DA

Accessibility & contrast

On white

11.53
#232799 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#232799 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232799
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232799#FFFFFF#000000##FFFFFF
##2327991.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9C
Deuteranopia (green-blind)
#003397
Tritanopia (blue-blind)
#00485E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #232799;
/* rgb */ color: rgb(35, 39, 153);
/* oklch */ color: oklch(36.1% 0.179 271.6);
Tailwind
colors: {
  custom: {
    50: '#7362b8',
    500: '#232799',
    950: '#000000',
  },
}
SCSS
$custom: #232799;
$custom-light: #7362b8;
$custom-dark: #000000;
JSON
{
  "hex": "#232799",
  "rgb": {
    "r": 35,
    "g": 39,
    "b": 153
  },
  "hsl": {
    "h": 237.966,
    "s": 62.766,
    "l": 36.863
  },
  "oklch": {
    "l": 0.36132,
    "c": 0.17932,
    "h": 271.6
  },
  "luminance": 0.04108
}

Semantic roles & 50–950 ramp

primary
#232799
secondary
#BEBB59
accent
#E042E6
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090512
muted
#7B7981

Preview Lab

Preview with #232799

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

Preview Lab → · Contrast checker → · Palette generator →

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