#2341A7#2341A7

#2341A7 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.1% C 0.168 H 266.4°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#2341A7
RGBrgb(35, 65, 167)
HSLhsl(226, 65%, 40%)
HSVhsv(226, 79%, 65%)
CMYKcmyk(79%, 61.1%, 0%, 34.5%)
CIE-LABlab(31.64, 27.15, -57.91)
CIE-LCHlch(31.64, 63.96, 295.12°)
OKLaboklab(42.1% -0.0105 -0.1674)
OKLCHoklch(42.1% 0.168 266.4)
XYZxyz(9.5560, 6.9268, 37.3851)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2341A7 #A78923
analogous
#2383A7 #2341A7 #4723A7
triadic
#2341A7 #A72341 #41A723
tetradic
#2341A7 #A72383 #A78923 #23A747
square
#2341A7 #A72383 #A78923 #23A747
split-complementary
#2341A7 #A74723 #83A723
monochromatic
#0E1A42 #182D74 #2341A7 #3358D4 #6681DF

Accessibility & contrast

On white

8.80
#2341A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#2341A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2341A7
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2341A7#FFFFFF#000000##FFFFFF
##2341A71.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AA
Deuteranopia (green-blind)
#0044A5
Tritanopia (blue-blind)
#005B6D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2341a7;
/* rgb */ color: rgb(35, 65, 167);
/* oklch */ color: oklch(42.1% 0.168 266.4);
Tailwind
colors: {
  custom: {
    50: '#7475c2',
    500: '#2341a7',
    950: '#000000',
  },
}
SCSS
$custom: #2341a7;
$custom-light: #7475c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2341a7",
  "rgb": {
    "r": 35,
    "g": 65,
    "b": 167
  },
  "hsl": {
    "h": 226.364,
    "s": 65.347,
    "l": 39.608
  },
  "oklch": {
    "l": 0.42096,
    "c": 0.16774,
    "h": 266.4
  },
  "luminance": 0.06928
}

Semantic roles & 50–950 ramp

primary
#2341A7
secondary
#C4AE61
accent
#C23FE8
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2341A7

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

Preview Lab → · Contrast checker → · Palette generator →

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