#2341B4#2341B4

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

Color values

HEX#2341B4
RGBrgb(35, 65, 180)
HSLhsl(228, 67%, 42%)
HSVhsv(228, 81%, 71%)
CMYKcmyk(80.6%, 63.9%, 0%, 29.4%)
CIE-LABlab(32.77, 32.10, -63.82)
CIE-LCHlch(32.77, 71.43, 296.70°)
OKLaboklab(43.28% -0.0106 -0.1847)
OKLCHoklch(43.28% 0.185 266.7)
XYZxyz(10.8188, 7.4319, 44.0355)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2341B4 #B49623
analogous
#238AB4 #2341B4 #4D23B4
triadic
#2341B4 #B42341 #41B423
tetradic
#2341B4 #B4238A #B49623 #23B44D
square
#2341B4 #B4238A #B49623 #23B44D
split-complementary
#2341B4 #B44D23 #8AB423
monochromatic
#0F1C4E #192E81 #2341B4 #3B5CD9 #6E87E3

Accessibility & contrast

On white

8.45
#2341B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#2341B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2341B4
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2341B4#FFFFFF#000000##FFFFFF
##2341B41.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B8
Deuteranopia (green-blind)
#0046B2
Tritanopia (blue-blind)
#005F74
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2341b4;
/* rgb */ color: rgb(35, 65, 180);
/* oklch */ color: oklch(43.3% 0.185 266.7);
Tailwind
colors: {
  custom: {
    50: '#7775cb',
    500: '#2341b4',
    950: '#000000',
  },
}
SCSS
$custom: #2341b4;
$custom-light: #7775cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2341b4",
  "rgb": {
    "r": 35,
    "g": 65,
    "b": 180
  },
  "hsl": {
    "h": 227.586,
    "s": 67.442,
    "l": 42.157
  },
  "oklch": {
    "l": 0.43283,
    "c": 0.18501,
    "h": 266.7
  },
  "luminance": 0.07433
}

Semantic roles & 50–950 ramp

primary
#2341B4
secondary
#C9B669
accent
#C73DEA
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2341B4

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

Preview Lab → · Contrast checker → · Palette generator →

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