#2341B3#2341B3

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

Color values

HEX#2341B3
RGBrgb(35, 65, 179)
HSLhsl(228, 67%, 42%)
HSVhsv(228, 80%, 70%)
CMYKcmyk(80.4%, 63.7%, 0%, 29.8%)
CIE-LABlab(32.68, 31.72, -63.37)
CIE-LCHlch(32.68, 70.86, 296.59°)
OKLaboklab(43.19% -0.0106 -0.1834)
OKLCHoklch(43.19% 0.184 266.7)
XYZxyz(10.7173, 7.3913, 43.5009)
Luminance0.0739 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2341B3 #B39523
analogous
#2389B3 #2341B3 #4D23B3
triadic
#2341B3 #B32341 #41B323
tetradic
#2341B3 #B32389 #B39523 #23B34D
square
#2341B3 #B32389 #B39523 #23B34D
split-complementary
#2341B3 #B34D23 #89B323
monochromatic
#0F1C4D #192E80 #2341B3 #3B5CD9 #6E86E3

Accessibility & contrast

On white

8.47
#2341B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#2341B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2341B3
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2341B3#FFFFFF#000000##FFFFFF
##2341B31.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2341b3;
/* rgb */ color: rgb(35, 65, 179);
/* oklch */ color: oklch(43.2% 0.184 266.7);
Tailwind
colors: {
  custom: {
    50: '#7775cb',
    500: '#2341b3',
    950: '#000000',
  },
}
SCSS
$custom: #2341b3;
$custom-light: #7775cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2341b3",
  "rgb": {
    "r": 35,
    "g": 65,
    "b": 179
  },
  "hsl": {
    "h": 227.5,
    "s": 67.29,
    "l": 41.961
  },
  "oklch": {
    "l": 0.4319,
    "c": 0.1837,
    "h": 266.7
  },
  "luminance": 0.07393
}

Semantic roles & 50–950 ramp

primary
#2341B3
secondary
#C9B569
accent
#C63EEA
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2341B3

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

Preview Lab → · Contrast checker → · Palette generator →

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