#2342A3#2342A3

#2342A3 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.9% C 0.161 H 266.0°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#2342A3
RGBrgb(35, 66, 163)
HSLhsl(225, 65%, 39%)
HSVhsv(225, 79%, 64%)
CMYKcmyk(78.5%, 59.5%, 0%, 36.1%)
CIE-LABlab(31.57, 24.94, -55.62)
CIE-LCHlch(31.57, 60.95, 294.15°)
OKLaboklab(41.94% -0.0112 -0.1607)
OKLCHoklch(41.94% 0.161 266)
XYZxyz(9.2499, 6.8970, 35.4870)
Luminance0.0690 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2342A3 #A38423
analogous
#2382A3 #2342A3 #4423A3
triadic
#2342A3 #A32342 #42A323
tetradic
#2342A3 #A32382 #A38423 #23A344
square
#2342A3 #A32382 #A38423 #23A344
split-complementary
#2342A3 #A34423 #82A323
monochromatic
#0D193E #182E71 #2342A3 #3158D3 #6381DD

Accessibility & contrast

On white

8.83
#2342A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#2342A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2342A3
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2342A3#FFFFFF#000000##FFFFFF
##2342A31.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A6
Deuteranopia (green-blind)
#0045A1
Tritanopia (blue-blind)
#005B6C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2342a3;
/* rgb */ color: rgb(35, 66, 163);
/* oklch */ color: oklch(41.9% 0.161 266.0);
Tailwind
colors: {
  custom: {
    50: '#7375bf',
    500: '#2342a3',
    950: '#000000',
  },
}
SCSS
$custom: #2342a3;
$custom-light: #7375bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2342a3",
  "rgb": {
    "r": 35,
    "g": 66,
    "b": 163
  },
  "hsl": {
    "h": 225.469,
    "s": 64.646,
    "l": 38.824
  },
  "oklch": {
    "l": 0.41941,
    "c": 0.16105,
    "h": 266
  },
  "luminance": 0.06898
}

Semantic roles & 50–950 ramp

primary
#2342A3
secondary
#C3AB5F
accent
#BF40E8
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2342A3

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

Preview Lab → · Contrast checker → · Palette generator →

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