#232894#232894

#232894 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.8% C 0.172 H 271.7°. Best body text is #FFFFFF at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#232894
RGBrgb(35, 40, 148)
HSLhsl(237, 62%, 36%)
HSVhsv(237, 76%, 58%)
CMYKcmyk(76.4%, 73%, 0%, 42%)
CIE-LABlab(23.71, 36.35, -59.36)
CIE-LCHlch(23.71, 69.60, 301.48°)
OKLaboklab(35.75% 0.0052 -0.1718)
OKLCHoklch(35.75% 0.172 271.7)
XYZxyz(6.7954, 4.0123, 28.4276)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232894 #948F23
analogous
#236094 #232894 #562394
triadic
#232894 #942328 #289423
tetradic
#232894 #942360 #948F23 #239456
square
#232894 #942360 #948F23 #239456
split-complementary
#232894 #945623 #609423
monochromatic
#0C0D31 #171B63 #232894 #2F35C5 #5A5FD8

Accessibility & contrast

On white

11.65
#232894 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#232894 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232894
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232894#FFFFFF#000000##FFFFFF
##2328941.0011.651.8011.65
#FFFFFF11.651.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E97
Deuteranopia (green-blind)
#003392
Tritanopia (blue-blind)
#00475B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #232894;
/* rgb */ color: rgb(35, 40, 148);
/* oklch */ color: oklch(35.8% 0.172 271.7);
Tailwind
colors: {
  custom: {
    50: '#7163b5',
    500: '#232894',
    950: '#000000',
  },
}
SCSS
$custom: #232894;
$custom-light: #7163b5;
$custom-dark: #000000;
JSON
{
  "hex": "#232894",
  "rgb": {
    "r": 35,
    "g": 40,
    "b": 148
  },
  "hsl": {
    "h": 237.345,
    "s": 61.749,
    "l": 35.882
  },
  "oklch": {
    "l": 0.35752,
    "c": 0.17187,
    "h": 271.7
  },
  "luminance": 0.04013
}

Semantic roles & 50–950 ramp

primary
#232894
secondary
#BCB857
accent
#DE43E5
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #232894

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

Preview Lab → · Contrast checker → · Palette generator →

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