#232794#232794

#232794 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.6% C 0.173 H 271.9°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#232794
RGBrgb(35, 39, 148)
HSLhsl(238, 62%, 36%)
HSVhsv(238, 76%, 58%)
CMYKcmyk(76.4%, 73.6%, 0%, 42%)
CIE-LABlab(23.49, 36.96, -59.72)
CIE-LCHlch(23.49, 70.23, 301.75°)
OKLaboklab(35.59% 0.0057 -0.1728)
OKLCHoklch(35.59% 0.173 271.9)
XYZxyz(6.7621, 3.9458, 28.4165)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232794 #949023
analogous
#235F94 #232794 #572394
triadic
#232794 #942327 #279423
tetradic
#232794 #94235F #949023 #239457
square
#232794 #94235F #949023 #239457
split-complementary
#232794 #945723 #5F9423
monochromatic
#0C0D31 #171A63 #232794 #2F34C5 #5A5ED8

Accessibility & contrast

On white

11.74
#232794 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#232794 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232794
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232794#FFFFFF#000000##FFFFFF
##2327941.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D97
Deuteranopia (green-blind)
#003292
Tritanopia (blue-blind)
#00465B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #232794;
/* rgb */ color: rgb(35, 39, 148);
/* oklch */ color: oklch(35.6% 0.173 271.9);
Tailwind
colors: {
  custom: {
    50: '#7162b5',
    500: '#232794',
    950: '#000000',
  },
}
SCSS
$custom: #232794;
$custom-light: #7162b5;
$custom-dark: #000000;
JSON
{
  "hex": "#232794",
  "rgb": {
    "r": 35,
    "g": 39,
    "b": 148
  },
  "hsl": {
    "h": 237.876,
    "s": 61.749,
    "l": 35.882
  },
  "oklch": {
    "l": 0.35594,
    "c": 0.17294,
    "h": 271.9
  },
  "luminance": 0.03946
}

Semantic roles & 50–950 ramp

primary
#232794
secondary
#BCB957
accent
#DF43E5
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #232794

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

Preview Lab → · Contrast checker → · Palette generator →

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