#2334B2#2334B2

#2334B2 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.8% C 0.197 H 268.8°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#2334B2
RGBrgb(35, 52, 178)
HSLhsl(233, 67%, 42%)
HSVhsv(233, 80%, 70%)
CMYKcmyk(80.3%, 70.8%, 0%, 30.2%)
CIE-LABlab(29.48, 39.65, -68.04)
CIE-LCHlch(29.48, 78.75, 300.23°)
OKLaboklab(40.82% -0.0041 -0.1971)
OKLCHoklch(40.82% 0.197 268.8)
XYZxyz(9.9542, 6.0265, 42.7495)
Luminance0.0603 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2334B2 #B2A123
analogous
#237CB2 #2334B2 #5A23B2
triadic
#2334B2 #B22334 #34B223
tetradic
#2334B2 #B2237C #B2A123 #23B25A
square
#2334B2 #B2237C #B2A123 #23B25A
split-complementary
#2334B2 #B25A23 #7CB223
monochromatic
#0F164C #19257F #2334B2 #3A4DD8 #6D7BE2

Accessibility & contrast

On white

9.52
#2334B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#2334B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2334B2
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2334B2#FFFFFF#000000##FFFFFF
##2334B21.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB6
Deuteranopia (green-blind)
#003EB0
Tritanopia (blue-blind)
#00576F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2334b2;
/* rgb */ color: rgb(35, 52, 178);
/* oklch */ color: oklch(40.8% 0.197 268.8);
Tailwind
colors: {
  custom: {
    50: '#786cca',
    500: '#2334b2',
    950: '#000000',
  },
}
SCSS
$custom: #2334b2;
$custom-light: #786cca;
$custom-dark: #000000;
JSON
{
  "hex": "#2334b2",
  "rgb": {
    "r": 35,
    "g": 52,
    "b": 178
  },
  "hsl": {
    "h": 232.867,
    "s": 67.136,
    "l": 41.765
  },
  "oklch": {
    "l": 0.40823,
    "c": 0.19714,
    "h": 268.8
  },
  "luminance": 0.06028
}

Semantic roles & 50–950 ramp

primary
#2334B2
secondary
#C9BD68
accent
#D63EEA
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2334B2

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

Preview Lab → · Contrast checker → · Palette generator →

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