#2334A7#2334A7

#2334A7 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.7% C 0.183 H 269.0°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#2334A7
RGBrgb(35, 52, 167)
HSLhsl(232, 65%, 40%)
HSVhsv(232, 79%, 65%)
CMYKcmyk(79%, 68.9%, 0%, 34.5%)
CIE-LABlab(28.39, 35.68, -63.24)
CIE-LCHlch(28.39, 72.61, 299.43°)
OKLaboklab(39.7% -0.0031 -0.1831)
OKLCHoklch(39.7% 0.183 269)
XYZxyz(8.8938, 5.6023, 37.1643)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2334A7 #A79623
analogous
#2376A7 #2334A7 #5423A7
triadic
#2334A7 #A72334 #34A723
tetradic
#2334A7 #A72376 #A79623 #23A754
square
#2334A7 #A72376 #A79623 #23A754
split-complementary
#2334A7 #A75423 #76A723
monochromatic
#0E1442 #182474 #2334A7 #3348D4 #6675DF

Accessibility & contrast

On white

9.90
#2334A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2334A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2334A7
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2334A7#FFFFFF#000000##FFFFFF
##2334A71.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AB
Deuteranopia (green-blind)
#003DA5
Tritanopia (blue-blind)
#005469
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2334a7;
/* rgb */ color: rgb(35, 52, 167);
/* oklch */ color: oklch(39.7% 0.183 269.0);
Tailwind
colors: {
  custom: {
    50: '#756cc2',
    500: '#2334a7',
    950: '#000000',
  },
}
SCSS
$custom: #2334a7;
$custom-light: #756cc2;
$custom-dark: #000000;
JSON
{
  "hex": "#2334a7",
  "rgb": {
    "r": 35,
    "g": 52,
    "b": 167
  },
  "hsl": {
    "h": 232.273,
    "s": 65.347,
    "l": 39.608
  },
  "oklch": {
    "l": 0.39702,
    "c": 0.18316,
    "h": 269
  },
  "luminance": 0.05603
}

Semantic roles & 50–950 ramp

primary
#2334A7
secondary
#C4B861
accent
#D33FE8
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2334A7

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

Preview Lab → · Contrast checker → · Palette generator →

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