#2345A2#2345A2

#2345A2 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.5% C 0.156 H 265.1°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#2345A2
RGBrgb(35, 69, 162)
HSLhsl(224, 64%, 39%)
HSVhsv(224, 78%, 64%)
CMYKcmyk(78.4%, 57.4%, 0%, 36.5%)
CIE-LABlab(32.30, 22.52, -53.82)
CIE-LCHlch(32.30, 58.34, 292.71°)
OKLaboklab(42.47% -0.0134 -0.1553)
OKLCHoklch(42.47% 0.156 265.1)
XYZxyz(9.3405, 7.2211, 35.0770)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2345A2 #A28023
analogous
#2384A2 #2345A2 #4023A2
triadic
#2345A2 #A22345 #45A223
tetradic
#2345A2 #A22384 #A28023 #23A240
square
#2345A2 #A22384 #A28023 #23A240
split-complementary
#2345A2 #A24023 #84A223
monochromatic
#0D1A3D #183070 #2345A2 #305BD2 #6283DD

Accessibility & contrast

On white

8.59
#2345A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#2345A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2345A2
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2345A2#FFFFFF#000000##FFFFFF
##2345A21.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A5
Deuteranopia (green-blind)
#0046A0
Tritanopia (blue-blind)
#005C6C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2345a2;
/* rgb */ color: rgb(35, 69, 162);
/* oklch */ color: oklch(42.5% 0.156 265.1);
Tailwind
colors: {
  custom: {
    50: '#7278be',
    500: '#2345a2',
    950: '#000000',
  },
}
SCSS
$custom: #2345a2;
$custom-light: #7278be;
$custom-dark: #000000;
JSON
{
  "hex": "#2345a2",
  "rgb": {
    "r": 35,
    "g": 69,
    "b": 162
  },
  "hsl": {
    "h": 223.937,
    "s": 64.467,
    "l": 38.627
  },
  "oklch": {
    "l": 0.42465,
    "c": 0.15592,
    "h": 265.1
  },
  "luminance": 0.07222
}

Semantic roles & 50–950 ramp

primary
#2345A2
secondary
#C2A85E
accent
#BB40E7
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2345A2

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

Preview Lab → · Contrast checker → · Palette generator →

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