#2345A4#2345A4

#2345A4 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.6% C 0.159 H 265.2°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#2345A4
RGBrgb(35, 69, 164)
HSLhsl(224, 65%, 39%)
HSVhsv(224, 79%, 64%)
CMYKcmyk(78.7%, 57.9%, 0%, 35.7%)
CIE-LABlab(32.46, 23.30, -54.76)
CIE-LCHlch(32.46, 59.52, 293.05°)
OKLaboklab(42.64% -0.0133 -0.1581)
OKLCHoklch(42.64% 0.159 265.2)
XYZxyz(9.5197, 7.2928, 36.0207)
Luminance0.0729 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2345A4 #A48223
analogous
#2386A4 #2345A4 #4223A4
triadic
#2345A4 #A42345 #45A423
tetradic
#2345A4 #A42386 #A48223 #23A442
square
#2345A4 #A42386 #A48223 #23A442
split-complementary
#2345A4 #A44223 #86A423
monochromatic
#0D1B3F #183072 #2345A4 #315CD3 #6484DE

Accessibility & contrast

On white

8.54
#2345A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#2345A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2345A4
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2345A4#FFFFFF#000000##FFFFFF
##2345A41.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A7
Deuteranopia (green-blind)
#0047A2
Tritanopia (blue-blind)
#005D6D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2345a4;
/* rgb */ color: rgb(35, 69, 164);
/* oklch */ color: oklch(42.6% 0.159 265.2);
Tailwind
colors: {
  custom: {
    50: '#7378c0',
    500: '#2345a4',
    950: '#000000',
  },
}
SCSS
$custom: #2345a4;
$custom-light: #7378c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2345a4",
  "rgb": {
    "r": 35,
    "g": 69,
    "b": 164
  },
  "hsl": {
    "h": 224.186,
    "s": 64.824,
    "l": 39.02
  },
  "oklch": {
    "l": 0.42635,
    "c": 0.15867,
    "h": 265.2
  },
  "luminance": 0.07294
}

Semantic roles & 50–950 ramp

primary
#2345A4
secondary
#C3A960
accent
#BC40E8
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2345A4

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

Preview Lab → · Contrast checker → · Palette generator →

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