#2345B2#2345B2

#2345B2 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.9% C 0.178 H 265.8°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#2345B2
RGBrgb(35, 69, 178)
HSLhsl(226, 67%, 42%)
HSVhsv(226, 80%, 70%)
CMYKcmyk(80.3%, 61.2%, 0%, 30.2%)
CIE-LABlab(33.62, 28.71, -61.24)
CIE-LCHlch(33.62, 67.63, 295.11°)
OKLaboklab(43.86% -0.0129 -0.1771)
OKLCHoklch(43.86% 0.178 265.8)
XYZxyz(10.8543, 7.8266, 43.0495)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2345B2 #B29023
analogous
#238DB2 #2345B2 #4823B2
triadic
#2345B2 #B22345 #45B223
tetradic
#2345B2 #B2238D #B29023 #23B248
square
#2345B2 #B2238D #B29023 #23B248
split-complementary
#2345B2 #B24823 #8DB223
monochromatic
#0F1D4C #19317F #2345B2 #3A60D8 #6D89E2

Accessibility & contrast

On white

8.19
#2345B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#2345B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2345B2
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2345B2#FFFFFF#000000##FFFFFF
##2345B21.008.192.578.19
#FFFFFF8.191.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B6
Deuteranopia (green-blind)
#0049B0
Tritanopia (blue-blind)
#006175
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2345b2;
/* rgb */ color: rgb(35, 69, 178);
/* oklch */ color: oklch(43.9% 0.178 265.8);
Tailwind
colors: {
  custom: {
    50: '#7678ca',
    500: '#2345b2',
    950: '#000000',
  },
}
SCSS
$custom: #2345b2;
$custom-light: #7678ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2345b2",
  "rgb": {
    "r": 35,
    "g": 69,
    "b": 178
  },
  "hsl": {
    "h": 225.734,
    "s": 67.136,
    "l": 41.765
  },
  "oklch": {
    "l": 0.43858,
    "c": 0.17759,
    "h": 265.8
  },
  "luminance": 0.07828
}

Semantic roles & 50–950 ramp

primary
#2345B2
secondary
#C9B268
accent
#C13EEA
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2345B2

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

Preview Lab → · Contrast checker → · Palette generator →

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