#2341A4#2341A4

#2341A4 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.8% C 0.164 H 266.3°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#2341A4
RGBrgb(35, 65, 164)
HSLhsl(226, 65%, 39%)
HSVhsv(226, 79%, 64%)
CMYKcmyk(78.7%, 60.4%, 0%, 35.7%)
CIE-LABlab(31.39, 26.00, -56.52)
CIE-LCHlch(31.39, 62.21, 294.70°)
OKLaboklab(41.83% -0.0106 -0.1633)
OKLCHoklch(41.83% 0.164 266.3)
XYZxyz(9.2819, 6.8172, 35.9414)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2341A4 #A48623
analogous
#2382A4 #2341A4 #4623A4
triadic
#2341A4 #A42341 #41A423
tetradic
#2341A4 #A42382 #A48623 #23A446
square
#2341A4 #A42382 #A48623 #23A446
split-complementary
#2341A4 #A44623 #82A423
monochromatic
#0D193F #182D72 #2341A4 #3157D3 #6480DE

Accessibility & contrast

On white

8.88
#2341A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#2341A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2341A4
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2341A4#FFFFFF#000000##FFFFFF
##2341A41.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A7
Deuteranopia (green-blind)
#0044A2
Tritanopia (blue-blind)
#005A6C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2341a4;
/* rgb */ color: rgb(35, 65, 164);
/* oklch */ color: oklch(41.8% 0.164 266.3);
Tailwind
colors: {
  custom: {
    50: '#7375c0',
    500: '#2341a4',
    950: '#000000',
  },
}
SCSS
$custom: #2341a4;
$custom-light: #7375c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2341a4",
  "rgb": {
    "r": 35,
    "g": 65,
    "b": 164
  },
  "hsl": {
    "h": 226.047,
    "s": 64.824,
    "l": 39.02
  },
  "oklch": {
    "l": 0.41829,
    "c": 0.16367,
    "h": 266.3
  },
  "luminance": 0.06818
}

Semantic roles & 50–950 ramp

primary
#2341A4
secondary
#C3AC60
accent
#C140E8
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2341A4

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

Preview Lab → · Contrast checker → · Palette generator →

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