#2341A6#2341A6

#2341A6 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.0% C 0.166 H 266.4°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#2341A6
RGBrgb(35, 65, 166)
HSLhsl(226, 65%, 39%)
HSVhsv(226, 79%, 65%)
CMYKcmyk(78.9%, 60.8%, 0%, 34.9%)
CIE-LABlab(31.56, 26.77, -57.45)
CIE-LCHlch(31.56, 63.38, 294.98°)
OKLaboklab(42.01% -0.0105 -0.166)
OKLCHoklch(42.01% 0.166 266.4)
XYZxyz(9.4640, 6.8900, 36.9001)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2341A6 #A68823
analogous
#2382A6 #2341A6 #4723A6
triadic
#2341A6 #A62341 #41A623
tetradic
#2341A6 #A62382 #A68823 #23A647
square
#2341A6 #A62382 #A68823 #23A647
split-complementary
#2341A6 #A64723 #82A623
monochromatic
#0E1941 #182D73 #2341A6 #3257D4 #6581DF

Accessibility & contrast

On white

8.83
#2341A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#2341A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2341A6
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2341A6#FFFFFF#000000##FFFFFF
##2341A61.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A9
Deuteranopia (green-blind)
#0044A4
Tritanopia (blue-blind)
#005B6D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2341a6;
/* rgb */ color: rgb(35, 65, 166);
/* oklch */ color: oklch(42.0% 0.166 266.4);
Tailwind
colors: {
  custom: {
    50: '#7475c1',
    500: '#2341a6',
    950: '#000000',
  },
}
SCSS
$custom: #2341a6;
$custom-light: #7475c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2341a6",
  "rgb": {
    "r": 35,
    "g": 65,
    "b": 166
  },
  "hsl": {
    "h": 226.26,
    "s": 65.174,
    "l": 39.412
  },
  "oklch": {
    "l": 0.42006,
    "c": 0.16638,
    "h": 266.4
  },
  "luminance": 0.06891
}

Semantic roles & 50–950 ramp

primary
#2341A6
secondary
#C4AD61
accent
#C240E8
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2341A6

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

Preview Lab → · Contrast checker → · Palette generator →

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