#2341A2#2341A2

#2341A2 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.7% C 0.161 H 266.2°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#2341A2
RGBrgb(35, 65, 162)
HSLhsl(226, 64%, 39%)
HSVhsv(226, 78%, 64%)
CMYKcmyk(78.4%, 59.9%, 0%, 36.5%)
CIE-LABlab(31.22, 25.22, -55.59)
CIE-LCHlch(31.22, 61.04, 294.41°)
OKLaboklab(41.65% -0.0106 -0.1606)
OKLCHoklch(41.65% 0.161 266.2)
XYZxyz(9.1027, 6.7455, 34.9977)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2341A2 #A28423
analogous
#2380A2 #2341A2 #4423A2
triadic
#2341A2 #A22341 #41A223
tetradic
#2341A2 #A22380 #A28423 #23A244
square
#2341A2 #A22380 #A28423 #23A244
split-complementary
#2341A2 #A24423 #80A223
monochromatic
#0D193D #182D70 #2341A2 #3056D2 #627FDD

Accessibility & contrast

On white

8.94
#2341A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#2341A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2341A2
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2341A2#FFFFFF#000000##FFFFFF
##2341A21.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A5
Deuteranopia (green-blind)
#0044A0
Tritanopia (blue-blind)
#005A6B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2341a2;
/* rgb */ color: rgb(35, 65, 162);
/* oklch */ color: oklch(41.7% 0.161 266.2);
Tailwind
colors: {
  custom: {
    50: '#7375be',
    500: '#2341a2',
    950: '#000000',
  },
}
SCSS
$custom: #2341a2;
$custom-light: #7375be;
$custom-dark: #000000;
JSON
{
  "hex": "#2341a2",
  "rgb": {
    "r": 35,
    "g": 65,
    "b": 162
  },
  "hsl": {
    "h": 225.827,
    "s": 64.467,
    "l": 38.627
  },
  "oklch": {
    "l": 0.41652,
    "c": 0.16094,
    "h": 266.2
  },
  "luminance": 0.06747
}

Semantic roles & 50–950 ramp

primary
#2341A2
secondary
#C2AB5E
accent
#C040E7
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2341A2

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

Preview Lab → · Contrast checker → · Palette generator →

#2341A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva