#2345A5#2345A5

#2345A5 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.7% C 0.160 H 265.3°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#2345A5
RGBrgb(35, 69, 165)
HSLhsl(224, 65%, 39%)
HSVhsv(224, 79%, 65%)
CMYKcmyk(78.8%, 58.2%, 0%, 35.3%)
CIE-LABlab(32.54, 23.69, -55.23)
CIE-LCHlch(32.54, 60.10, 293.22°)
OKLaboklab(42.72% -0.0132 -0.1595)
OKLCHoklch(42.72% 0.16 265.3)
XYZxyz(9.6104, 7.3291, 36.4982)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2345A5 #A58323
analogous
#2386A5 #2345A5 #4223A5
triadic
#2345A5 #A52345 #45A523
tetradic
#2345A5 #A52386 #A58323 #23A542
square
#2345A5 #A52386 #A58323 #23A542
split-complementary
#2345A5 #A54223 #86A523
monochromatic
#0E1B40 #183073 #2345A5 #325CD3 #6484DE

Accessibility & contrast

On white

8.52
#2345A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2345A5
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2345A5#FFFFFF#000000##FFFFFF
##2345A51.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2345a5;
/* rgb */ color: rgb(35, 69, 165);
/* oklch */ color: oklch(42.7% 0.160 265.3);
Tailwind
colors: {
  custom: {
    50: '#7378c0',
    500: '#2345a5',
    950: '#000000',
  },
}
SCSS
$custom: #2345a5;
$custom-light: #7378c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2345a5",
  "rgb": {
    "r": 35,
    "g": 69,
    "b": 165
  },
  "hsl": {
    "h": 224.308,
    "s": 65,
    "l": 39.216
  },
  "oklch": {
    "l": 0.4272,
    "c": 0.16004,
    "h": 265.3
  },
  "luminance": 0.0733
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2345A5

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

Preview Lab → · Contrast checker → · Palette generator →

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