#2342A6#2342A6

#2342A6 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.2% C 0.165 H 266.1°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#2342A6
RGBrgb(35, 66, 166)
HSLhsl(226, 65%, 39%)
HSVhsv(226, 79%, 65%)
CMYKcmyk(78.9%, 60.2%, 0%, 34.9%)
CIE-LABlab(31.82, 26.10, -57.02)
CIE-LCHlch(31.82, 62.70, 294.60°)
OKLaboklab(42.2% -0.0112 -0.1648)
OKLCHoklch(42.2% 0.165 266.1)
XYZxyz(9.5219, 7.0058, 36.9194)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2342A6 #A68723
analogous
#2383A6 #2342A6 #4623A6
triadic
#2342A6 #A62342 #42A623
tetradic
#2342A6 #A62383 #A68723 #23A646
square
#2342A6 #A62383 #A68723 #23A646
split-complementary
#2342A6 #A64623 #83A623
monochromatic
#0E1A41 #182E73 #2342A6 #3259D4 #6582DF

Accessibility & contrast

On white

8.74
#2342A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#2342A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2342A6
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2342A6#FFFFFF#000000##FFFFFF
##2342A61.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A9
Deuteranopia (green-blind)
#0045A4
Tritanopia (blue-blind)
#005B6D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2342a6;
/* rgb */ color: rgb(35, 66, 166);
/* oklch */ color: oklch(42.2% 0.165 266.1);
Tailwind
colors: {
  custom: {
    50: '#7476c1',
    500: '#2342a6',
    950: '#000000',
  },
}
SCSS
$custom: #2342a6;
$custom-light: #7476c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2342a6",
  "rgb": {
    "r": 35,
    "g": 66,
    "b": 166
  },
  "hsl": {
    "h": 225.802,
    "s": 65.174,
    "l": 39.412
  },
  "oklch": {
    "l": 0.42204,
    "c": 0.16515,
    "h": 266.1
  },
  "luminance": 0.07007
}

Semantic roles & 50–950 ramp

primary
#2342A6
secondary
#C4AC61
accent
#C040E8
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2342A6

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

Preview Lab → · Contrast checker → · Palette generator →

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