#2341D4#2341D4

#2341D4 is a mid, highly saturated blue. Relative luminance 0.089; OKLCH L 46.4% C 0.225 H 266.9°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#2341D4
RGBrgb(35, 65, 212)
HSLhsl(230, 72%, 48%)
HSVhsv(230, 83%, 83%)
CMYKcmyk(83.5%, 69.3%, 0%, 16.9%)
CIE-LABlab(35.77, 43.79, -77.60)
CIE-LCHlch(35.77, 89.10, 299.44°)
OKLaboklab(46.39% -0.0122 -0.2249)
OKLCHoklch(46.39% 0.225 266.9)
XYZxyz(14.4630, 8.8896, 63.2282)
Luminance0.0889 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2341D4 #D4B623
analogous
#2399D4 #2341D4 #5E23D4
triadic
#2341D4 #D42341 #41D423
tetradic
#2341D4 #D42399 #D4B623 #23D45E
square
#2341D4 #D42399 #D4B623 #23D45E
split-complementary
#2341D4 #D45E23 #99D423
monochromatic
#12216B #1A319F #2341D4 #526AE2 #8697EB

Accessibility & contrast

On white

7.56
#2341D4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#2341D4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2341D4
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2341D4#FFFFFF#000000##FFFFFF
##2341D41.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD8
Deuteranopia (green-blind)
#004CD1
Tritanopia (blue-blind)
#006A86
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2341d4;
/* rgb */ color: rgb(35, 65, 212);
/* oklch */ color: oklch(46.4% 0.225 266.9);
Tailwind
colors: {
  custom: {
    50: '#7f76e3',
    500: '#2341d4',
    950: '#000000',
  },
}
SCSS
$custom: #2341d4;
$custom-light: #7f76e3;
$custom-dark: #000000;
JSON
{
  "hex": "#2341d4",
  "rgb": {
    "r": 35,
    "g": 65,
    "b": 212
  },
  "hsl": {
    "h": 229.831,
    "s": 71.66,
    "l": 48.431
  },
  "oklch": {
    "l": 0.46385,
    "c": 0.22527,
    "h": 266.9
  },
  "luminance": 0.08891
}

Semantic roles & 50–950 ramp

primary
#2341D4
secondary
#D4C67E
accent
#D039EE
background
#F8F7FE
surface
#F0EDFC
border
#CBC8D5
text
#0C0816
muted
#7D7B84

Preview Lab

Preview with #2341D4

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

Preview Lab → · Contrast checker → · Palette generator →

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