#2341B2#2341B2

#2341B2 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.1% C 0.182 H 266.7°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#2341B2
RGBrgb(35, 65, 178)
HSLhsl(227, 67%, 42%)
HSVhsv(227, 80%, 70%)
CMYKcmyk(80.3%, 63.5%, 0%, 30.2%)
CIE-LABlab(32.59, 31.34, -62.92)
CIE-LCHlch(32.59, 70.29, 296.48°)
OKLaboklab(43.1% -0.0105 -0.1821)
OKLCHoklch(43.1% 0.182 266.7)
XYZxyz(10.6165, 7.3510, 42.9702)
Luminance0.0735 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2341B2 #B29423
analogous
#2388B2 #2341B2 #4D23B2
triadic
#2341B2 #B22341 #41B223
tetradic
#2341B2 #B22388 #B29423 #23B24D
square
#2341B2 #B22388 #B29423 #23B24D
split-complementary
#2341B2 #B24D23 #88B223
monochromatic
#0F1C4C #192E7F #2341B2 #3A5BD8 #6D86E2

Accessibility & contrast

On white

8.50
#2341B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#2341B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2341B2
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2341B2#FFFFFF#000000##FFFFFF
##2341B21.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B6
Deuteranopia (green-blind)
#0046B0
Tritanopia (blue-blind)
#005F73
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2341b2;
/* rgb */ color: rgb(35, 65, 178);
/* oklch */ color: oklch(43.1% 0.182 266.7);
Tailwind
colors: {
  custom: {
    50: '#7775ca',
    500: '#2341b2',
    950: '#000000',
  },
}
SCSS
$custom: #2341b2;
$custom-light: #7775ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2341b2",
  "rgb": {
    "r": 35,
    "g": 65,
    "b": 178
  },
  "hsl": {
    "h": 227.413,
    "s": 67.136,
    "l": 41.765
  },
  "oklch": {
    "l": 0.43097,
    "c": 0.1824,
    "h": 266.7
  },
  "luminance": 0.07352
}

Semantic roles & 50–950 ramp

primary
#2341B2
secondary
#C9B468
accent
#C63EEA
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2341B2

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

Preview Lab → · Contrast checker → · Palette generator →

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