#2345A8#2345A8

#2345A8 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.0% C 0.164 H 265.4°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#2345A8
RGBrgb(35, 69, 168)
HSLhsl(225, 66%, 40%)
HSVhsv(225, 79%, 66%)
CMYKcmyk(79.2%, 58.9%, 0%, 34.1%)
CIE-LABlab(32.79, 24.86, -56.64)
CIE-LCHlch(32.79, 61.85, 293.70°)
OKLaboklab(42.98% -0.0131 -0.1636)
OKLCHoklch(42.98% 0.164 265.4)
XYZxyz(9.8866, 7.4396, 37.9531)
Luminance0.0744 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2345A8 #A88623
analogous
#2387A8 #2345A8 #4423A8
triadic
#2345A8 #A82345 #45A823
tetradic
#2345A8 #A82387 #A88623 #23A844
square
#2345A8 #A82387 #A88623 #23A844
split-complementary
#2345A8 #A84423 #87A823
monochromatic
#0E1B43 #183075 #2345A8 #345DD5 #6685DF

Accessibility & contrast

On white

8.44
#2345A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#2345A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2345A8
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2345A8#FFFFFF#000000##FFFFFF
##2345A81.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AB
Deuteranopia (green-blind)
#0047A6
Tritanopia (blue-blind)
#005E6F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2345a8;
/* rgb */ color: rgb(35, 69, 168);
/* oklch */ color: oklch(43.0% 0.164 265.4);
Tailwind
colors: {
  custom: {
    50: '#7478c3',
    500: '#2345a8',
    950: '#000000',
  },
}
SCSS
$custom: #2345a8;
$custom-light: #7478c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2345a8",
  "rgb": {
    "r": 35,
    "g": 69,
    "b": 168
  },
  "hsl": {
    "h": 224.662,
    "s": 65.517,
    "l": 39.804
  },
  "oklch": {
    "l": 0.42978,
    "c": 0.16413,
    "h": 265.4
  },
  "luminance": 0.07441
}

Semantic roles & 50–950 ramp

primary
#2345A8
secondary
#C5AC62
accent
#BD3FE8
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2345A8

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

Preview Lab → · Contrast checker → · Palette generator →

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