#2342AE#2342AE

#2342AE is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.9% C 0.176 H 266.4°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#2342AE
RGBrgb(35, 66, 174)
HSLhsl(227, 67%, 41%)
HSVhsv(227, 80%, 68%)
CMYKcmyk(79.9%, 62.1%, 0%, 31.8%)
CIE-LABlab(32.50, 29.17, -60.69)
CIE-LCHlch(32.50, 67.34, 295.67°)
OKLaboklab(42.92% -0.0111 -0.1756)
OKLCHoklch(42.92% 0.176 266.4)
XYZxyz(10.2787, 7.3086, 40.9052)
Luminance0.0731 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2342AE #AE8F23
analogous
#2387AE #2342AE #4A23AE
triadic
#2342AE #AE2342 #42AE23
tetradic
#2342AE #AE2387 #AE8F23 #23AE4A
square
#2342AE #AE2387 #AE8F23 #23AE4A
split-complementary
#2342AE #AE4A23 #87AE23
monochromatic
#0F1B48 #192F7B #2342AE #375BD7 #6A85E1

Accessibility & contrast

On white

8.53
#2342AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#2342AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2342AE
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2342AE#FFFFFF#000000##FFFFFF
##2342AE1.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B2
Deuteranopia (green-blind)
#0046AC
Tritanopia (blue-blind)
#005E71
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2342ae;
/* rgb */ color: rgb(35, 66, 174);
/* oklch */ color: oklch(42.9% 0.176 266.4);
Tailwind
colors: {
  custom: {
    50: '#7676c7',
    500: '#2342ae',
    950: '#000000',
  },
}
SCSS
$custom: #2342ae;
$custom-light: #7676c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2342ae",
  "rgb": {
    "r": 35,
    "g": 66,
    "b": 174
  },
  "hsl": {
    "h": 226.619,
    "s": 66.507,
    "l": 40.98
  },
  "oklch": {
    "l": 0.4292,
    "c": 0.1759,
    "h": 266.4
  },
  "luminance": 0.0731
}

Semantic roles & 50–950 ramp

primary
#2342AE
secondary
#C7B166
accent
#C33EE9
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2342AE

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

Preview Lab → · Contrast checker → · Palette generator →

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