#2334A5#2334A5

#2334A5 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.5% C 0.181 H 269.1°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#2334A5
RGBrgb(35, 52, 165)
HSLhsl(232, 65%, 39%)
HSVhsv(232, 79%, 65%)
CMYKcmyk(78.8%, 68.5%, 0%, 35.3%)
CIE-LABlab(28.19, 34.94, -62.36)
CIE-LCHlch(28.19, 71.48, 299.27°)
OKLaboklab(39.5% -0.0029 -0.1805)
OKLCHoklch(39.5% 0.181 269.1)
XYZxyz(8.7103, 5.5289, 36.1981)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2334A5 #A59423
analogous
#2375A5 #2334A5 #5323A5
triadic
#2334A5 #A52334 #34A523
tetradic
#2334A5 #A52375 #A59423 #23A553
square
#2334A5 #A52375 #A59423 #23A553
split-complementary
#2334A5 #A55323 #75A523
monochromatic
#0E1440 #182473 #2334A5 #3247D3 #6474DE

Accessibility & contrast

On white

9.97
#2334A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#2334A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2334A5
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2334A5#FFFFFF#000000##FFFFFF
##2334A51.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A8
Deuteranopia (green-blind)
#003CA3
Tritanopia (blue-blind)
#005368
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2334a5;
/* rgb */ color: rgb(35, 52, 165);
/* oklch */ color: oklch(39.5% 0.181 269.1);
Tailwind
colors: {
  custom: {
    50: '#756bc1',
    500: '#2334a5',
    950: '#000000',
  },
}
SCSS
$custom: #2334a5;
$custom-light: #756bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#2334a5",
  "rgb": {
    "r": 35,
    "g": 52,
    "b": 165
  },
  "hsl": {
    "h": 232.154,
    "s": 65,
    "l": 39.216
  },
  "oklch": {
    "l": 0.39502,
    "c": 0.18056,
    "h": 269.1
  },
  "luminance": 0.0553
}

Semantic roles & 50–950 ramp

primary
#2334A5
secondary
#C4B760
accent
#D240E8
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2334A5

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

Preview Lab → · Contrast checker → · Palette generator →

#2334A5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva