#2341A8#2341A8

#2341A8 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.2% C 0.169 H 266.4°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#2341A8
RGBrgb(35, 65, 168)
HSLhsl(226, 66%, 40%)
HSVhsv(226, 79%, 66%)
CMYKcmyk(79.2%, 61.3%, 0%, 34.1%)
CIE-LABlab(31.72, 27.54, -58.37)
CIE-LCHlch(31.72, 64.54, 295.26°)
OKLaboklab(42.19% -0.0105 -0.1688)
OKLCHoklch(42.19% 0.169 266.4)
XYZxyz(9.6488, 6.9640, 37.8738)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2341A8 #A88A23
analogous
#2384A8 #2341A8 #4723A8
triadic
#2341A8 #A82341 #41A823
tetradic
#2341A8 #A82384 #A88A23 #23A847
square
#2341A8 #A82384 #A88A23 #23A847
split-complementary
#2341A8 #A84723 #84A823
monochromatic
#0E1A43 #182D75 #2341A8 #3458D5 #6682DF

Accessibility & contrast

On white

8.78
#2341A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2341A8
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2341A8#FFFFFF#000000##FFFFFF
##2341A81.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AB
Deuteranopia (green-blind)
#0045A6
Tritanopia (blue-blind)
#005B6E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2341a8;
/* rgb */ color: rgb(35, 65, 168);
/* oklch */ color: oklch(42.2% 0.169 266.4);
Tailwind
colors: {
  custom: {
    50: '#7475c3',
    500: '#2341a8',
    950: '#000000',
  },
}
SCSS
$custom: #2341a8;
$custom-light: #7475c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2341a8",
  "rgb": {
    "r": 35,
    "g": 65,
    "b": 168
  },
  "hsl": {
    "h": 226.466,
    "s": 65.517,
    "l": 39.804
  },
  "oklch": {
    "l": 0.42185,
    "c": 0.16909,
    "h": 266.4
  },
  "luminance": 0.06965
}

Semantic roles & 50–950 ramp

primary
#2341A8
secondary
#C5AE62
accent
#C23FE8
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2341A8

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

Preview Lab → · Contrast checker → · Palette generator →

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