#2345A7#2345A7

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

Color values

HEX#2345A7
RGBrgb(35, 69, 167)
HSLhsl(225, 65%, 40%)
HSVhsv(225, 79%, 65%)
CMYKcmyk(79%, 58.7%, 0%, 34.5%)
CIE-LABlab(32.71, 24.47, -56.17)
CIE-LCHlch(32.71, 61.27, 293.54°)
OKLaboklab(42.89% -0.0131 -0.1622)
OKLCHoklch(42.89% 0.163 265.4)
XYZxyz(9.7938, 7.4025, 37.4644)
Luminance0.0740 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2345A7 #A78523
analogous
#2387A7 #2345A7 #4323A7
triadic
#2345A7 #A72345 #45A723
tetradic
#2345A7 #A72387 #A78523 #23A743
square
#2345A7 #A72387 #A78523 #23A743
split-complementary
#2345A7 #A74323 #87A723
monochromatic
#0E1B42 #183074 #2345A7 #335DD4 #6685DF

Accessibility & contrast

On white

8.47
#2345A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#2345A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2345A7
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2345A7#FFFFFF#000000##FFFFFF
##2345A71.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2345a7;
/* rgb */ color: rgb(35, 69, 167);
/* oklch */ color: oklch(42.9% 0.163 265.4);
Tailwind
colors: {
  custom: {
    50: '#7478c2',
    500: '#2345a7',
    950: '#000000',
  },
}
SCSS
$custom: #2345a7;
$custom-light: #7478c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2345a7",
  "rgb": {
    "r": 35,
    "g": 69,
    "b": 167
  },
  "hsl": {
    "h": 224.545,
    "s": 65.347,
    "l": 39.608
  },
  "oklch": {
    "l": 0.42892,
    "c": 0.16277,
    "h": 265.4
  },
  "luminance": 0.07404
}

Semantic roles & 50–950 ramp

primary
#2345A7
secondary
#C4AB61
accent
#BD3FE8
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2345A7

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

Preview Lab → · Contrast checker → · Palette generator →

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