#2345B4#2345B4

#2345B4 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.0% C 0.180 H 265.9°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#2345B4
RGBrgb(35, 69, 180)
HSLhsl(226, 67%, 42%)
HSVhsv(226, 81%, 71%)
CMYKcmyk(80.6%, 61.7%, 0%, 29.4%)
CIE-LABlab(33.79, 29.47, -62.15)
CIE-LCHlch(33.79, 68.78, 295.37°)
OKLaboklab(44.04% -0.0128 -0.1798)
OKLCHoklch(44.04% 0.18 265.9)
XYZxyz(11.0566, 7.9076, 44.1147)
Luminance0.0791 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2345B4 #B49223
analogous
#238EB4 #2345B4 #4A23B4
triadic
#2345B4 #B42345 #45B423
tetradic
#2345B4 #B4238E #B49223 #23B44A
square
#2345B4 #B4238E #B49223 #23B44A
split-complementary
#2345B4 #B44A23 #8EB423
monochromatic
#0F1E4E #193181 #2345B4 #3B60D9 #6E8AE3

Accessibility & contrast

On white

8.13
#2345B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#2345B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2345B4
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2345B4#FFFFFF#000000##FFFFFF
##2345B41.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B8
Deuteranopia (green-blind)
#0049B2
Tritanopia (blue-blind)
#006276
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2345b4;
/* rgb */ color: rgb(35, 69, 180);
/* oklch */ color: oklch(44.0% 0.180 265.9);
Tailwind
colors: {
  custom: {
    50: '#7778cb',
    500: '#2345b4',
    950: '#000000',
  },
}
SCSS
$custom: #2345b4;
$custom-light: #7778cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2345b4",
  "rgb": {
    "r": 35,
    "g": 69,
    "b": 180
  },
  "hsl": {
    "h": 225.931,
    "s": 67.442,
    "l": 42.157
  },
  "oklch": {
    "l": 0.44037,
    "c": 0.18024,
    "h": 265.9
  },
  "luminance": 0.07909
}

Semantic roles & 50–950 ramp

primary
#2345B4
secondary
#C9B369
accent
#C23DEA
background
#F7F7FC
surface
#EEEDF9
border
#C9C8D2
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2345B4

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

Preview Lab → · Contrast checker → · Palette generator →

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