#2342BC#2342BC

#2342BC is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.2% C 0.194 H 266.7°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#2342BC
RGBrgb(35, 66, 188)
HSLhsl(228, 69%, 44%)
HSVhsv(228, 81%, 74%)
CMYKcmyk(81.4%, 64.9%, 0%, 26.3%)
CIE-LABlab(33.74, 34.44, -66.96)
CIE-LCHlch(33.74, 75.30, 297.22°)
OKLaboklab(44.22% -0.0113 -0.1939)
OKLCHoklch(44.22% 0.194 266.7)
XYZxyz(11.7153, 7.8832, 48.4714)
Luminance0.0789 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2342BC #BC9D23
analogous
#238EBC #2342BC #5023BC
triadic
#2342BC #BC2342 #42BC23
tetradic
#2342BC #BC238E #BC9D23 #23BC50
square
#2342BC #BC238E #BC9D23 #23BC50
split-complementary
#2342BC #BC5023 #8EBC23
monochromatic
#101E55 #193088 #2342BC #4160DC #748BE5

Accessibility & contrast

On white

8.15
#2342BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#2342BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2342BC
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2342BC#FFFFFF#000000##FFFFFF
##2342BC1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C0
Deuteranopia (green-blind)
#0048BA
Tritanopia (blue-blind)
#006379
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2342bc;
/* rgb */ color: rgb(35, 66, 188);
/* oklch */ color: oklch(44.2% 0.194 266.7);
Tailwind
colors: {
  custom: {
    50: '#7976d1',
    500: '#2342bc',
    950: '#000000',
  },
}
SCSS
$custom: #2342bc;
$custom-light: #7976d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2342bc",
  "rgb": {
    "r": 35,
    "g": 66,
    "b": 188
  },
  "hsl": {
    "h": 227.843,
    "s": 68.61,
    "l": 43.725
  },
  "oklch": {
    "l": 0.44216,
    "c": 0.19421,
    "h": 266.7
  },
  "luminance": 0.07885
}

Semantic roles & 50–950 ramp

primary
#2342BC
secondary
#CCB96F
accent
#C83CEB
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0814
muted
#7C7B83

Preview Lab

Preview with #2342BC

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

Preview Lab → · Contrast checker → · Palette generator →

#2342BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva