#2334A6#2334A6

#2334A6 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.6% C 0.182 H 269.1°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#2334A6
RGBrgb(35, 52, 166)
HSLhsl(232, 65%, 39%)
HSVhsv(232, 79%, 65%)
CMYKcmyk(78.9%, 68.7%, 0%, 34.9%)
CIE-LABlab(28.29, 35.31, -62.80)
CIE-LCHlch(28.29, 72.05, 299.35°)
OKLaboklab(39.6% -0.003 -0.1818)
OKLCHoklch(39.6% 0.182 269.1)
XYZxyz(8.8017, 5.5655, 36.6794)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2334A6 #A69523
analogous
#2376A6 #2334A6 #5423A6
triadic
#2334A6 #A62334 #34A623
tetradic
#2334A6 #A62376 #A69523 #23A654
square
#2334A6 #A62376 #A69523 #23A654
split-complementary
#2334A6 #A65423 #76A623
monochromatic
#0E1441 #182473 #2334A6 #3247D4 #6575DF

Accessibility & contrast

On white

9.94
#2334A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2334A6
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2334A6#FFFFFF#000000##FFFFFF
##2334A61.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AA
Deuteranopia (green-blind)
#003CA4
Tritanopia (blue-blind)
#005368
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2334a6;
/* rgb */ color: rgb(35, 52, 166);
/* oklch */ color: oklch(39.6% 0.182 269.1);
Tailwind
colors: {
  custom: {
    50: '#756bc2',
    500: '#2334a6',
    950: '#000000',
  },
}
SCSS
$custom: #2334a6;
$custom-light: #756bc2;
$custom-dark: #000000;
JSON
{
  "hex": "#2334a6",
  "rgb": {
    "r": 35,
    "g": 52,
    "b": 166
  },
  "hsl": {
    "h": 232.214,
    "s": 65.174,
    "l": 39.412
  },
  "oklch": {
    "l": 0.39602,
    "c": 0.18185,
    "h": 269.1
  },
  "luminance": 0.05566
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2334A6

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

Preview Lab → · Contrast checker → · Palette generator →

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