#2345A6#2345A6

#2345A6 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.8% C 0.161 H 265.3°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#2345A6
RGBrgb(35, 69, 166)
HSLhsl(224, 65%, 39%)
HSVhsv(224, 79%, 65%)
CMYKcmyk(78.9%, 58.4%, 0%, 34.9%)
CIE-LABlab(32.63, 24.08, -55.70)
CIE-LCHlch(32.63, 60.69, 293.38°)
OKLaboklab(42.81% -0.0132 -0.1609)
OKLCHoklch(42.81% 0.161 265.3)
XYZxyz(9.7018, 7.3656, 36.9794)
Luminance0.0737 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2345A6 #A68423
analogous
#2387A6 #2345A6 #4223A6
triadic
#2345A6 #A62345 #45A623
tetradic
#2345A6 #A62387 #A68423 #23A642
square
#2345A6 #A62387 #A68423 #23A642
split-complementary
#2345A6 #A64223 #87A623
monochromatic
#0E1B41 #183073 #2345A6 #325CD4 #6584DF

Accessibility & contrast

On white

8.49
#2345A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#2345A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2345A6
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2345A6#FFFFFF#000000##FFFFFF
##2345A61.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A9
Deuteranopia (green-blind)
#0047A4
Tritanopia (blue-blind)
#005D6E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2345a6;
/* rgb */ color: rgb(35, 69, 166);
/* oklch */ color: oklch(42.8% 0.161 265.3);
Tailwind
colors: {
  custom: {
    50: '#7378c1',
    500: '#2345a6',
    950: '#000000',
  },
}
SCSS
$custom: #2345a6;
$custom-light: #7378c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2345a6",
  "rgb": {
    "r": 35,
    "g": 69,
    "b": 166
  },
  "hsl": {
    "h": 224.427,
    "s": 65.174,
    "l": 39.412
  },
  "oklch": {
    "l": 0.42806,
    "c": 0.16141,
    "h": 265.3
  },
  "luminance": 0.07367
}

Semantic roles & 50–950 ramp

primary
#2345A6
secondary
#C4AA61
accent
#BC40E8
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2345A6

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

Preview Lab → · Contrast checker → · Palette generator →

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