#232174#232174

#232174 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.2% C 0.137 H 276.0°. Best body text is #FFFFFF at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#232174
RGBrgb(35, 33, 116)
HSLhsl(241, 56%, 29%)
HSVhsv(241, 72%, 45%)
CMYKcmyk(69.8%, 71.6%, 0%, 54.5%)
CIE-LABlab(18.82, 29.27, -47.25)
CIE-LCHlch(18.82, 55.58, 301.78°)
OKLaboklab(31.25% 0.0144 -0.1364)
OKLCHoklch(31.25% 0.137 276)
XYZxyz(4.3883, 2.7056, 16.8106)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232174 #727421
analogous
#214974 #232174 #4D2174
triadic
#232174 #742321 #217423
tetradic
#232174 #742149 #727421 #21744D
square
#232174 #742149 #727421 #21744D
split-complementary
#232174 #744D21 #497421
monochromatic
#070718 #151344 #232174 #312FA4 #4845CA

Accessibility & contrast

On white

13.63
#232174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#232174 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232174
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232174#FFFFFF#000000##FFFFFF
##2321741.0013.631.5413.63
#FFFFFF13.631.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003177
Deuteranopia (green-blind)
#002A72
Tritanopia (blue-blind)
#003747
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #232174;
/* rgb */ color: rgb(35, 33, 116);
/* oklch */ color: oklch(31.2% 0.137 276.0);
Tailwind
colors: {
  custom: {
    50: '#6a5d9d',
    500: '#232174',
    950: '#000000',
  },
}
SCSS
$custom: #232174;
$custom-light: #6a5d9d;
$custom-dark: #000000;
JSON
{
  "hex": "#232174",
  "rgb": {
    "r": 35,
    "g": 33,
    "b": 116
  },
  "hsl": {
    "h": 241.446,
    "s": 55.705,
    "l": 29.216
  },
  "oklch": {
    "l": 0.31249,
    "c": 0.13719,
    "h": 276
  },
  "luminance": 0.02706
}

Semantic roles & 50–950 ramp

primary
#232174
secondary
#A5A749
accent
#DF49DB
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #232174

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

Preview Lab → · Contrast checker → · Palette generator →

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