#232170#232170

#232170 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.8% C 0.132 H 276.5°. Best body text is #FFFFFF at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#232170
RGBrgb(35, 33, 112)
HSLhsl(242, 54%, 28%)
HSVhsv(242, 71%, 44%)
CMYKcmyk(68.8%, 70.5%, 0%, 56.1%)
CIE-LABlab(18.43, 27.82, -45.32)
CIE-LCHlch(18.43, 53.17, 301.54°)
OKLaboklab(30.84% 0.0149 -0.1308)
OKLCHoklch(30.84% 0.132 276.5)
XYZxyz(4.1607, 2.6145, 15.6115)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232170 #6E7021
analogous
#214670 #232170 #4A2170
triadic
#232170 #702321 #217023
tetradic
#232170 #702146 #6E7021 #21704A
square
#232170 #702146 #6E7021 #21704A
split-complementary
#232170 #704A21 #467021
monochromatic
#070718 #141341 #232170 #322F9F #4744C8

Accessibility & contrast

On white

13.79
#232170 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#232170 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232170
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232170#FFFFFF#000000##FFFFFF
##2321701.0013.791.5213.79
#FFFFFF13.791.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003072
Deuteranopia (green-blind)
#00296F
Tritanopia (blue-blind)
#003645
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #232170;
/* rgb */ color: rgb(35, 33, 112);
/* oklch */ color: oklch(30.8% 0.132 276.5);
Tailwind
colors: {
  custom: {
    50: '#695d9a',
    500: '#232170',
    950: '#000000',
  },
}
SCSS
$custom: #232170;
$custom-light: #695d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#232170",
  "rgb": {
    "r": 35,
    "g": 33,
    "b": 112
  },
  "hsl": {
    "h": 241.519,
    "s": 54.483,
    "l": 28.431
  },
  "oklch": {
    "l": 0.30842,
    "c": 0.13163,
    "h": 276.5
  },
  "luminance": 0.02615
}

Semantic roles & 50–950 ramp

primary
#232170
secondary
#A1A449
accent
#DE4ADA
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #232170

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

Preview Lab → · Contrast checker → · Palette generator →

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