#2334D4#2334D4

#2334D4 is a dark, highly saturated blue. Relative luminance 0.076; OKLCH L 44.4% C 0.238 H 268.0°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#2334D4
RGBrgb(35, 52, 212)
HSLhsl(234, 72%, 48%)
HSVhsv(234, 83%, 83%)
CMYKcmyk(83.5%, 75.5%, 0%, 16.9%)
CIE-LABlab(33.06, 51.33, -82.08)
CIE-LCHlch(33.06, 96.81, 302.02°)
OKLaboklab(44.44% -0.0083 -0.2379)
OKLCHoklch(44.44% 0.238 268)
XYZxyz(13.8007, 7.5651, 63.0074)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2334D4 #D4C323
analogous
#238CD4 #2334D4 #6A23D4
triadic
#2334D4 #D42334 #34D423
tetradic
#2334D4 #D4238C #D4C323 #23D46A
square
#2334D4 #D4238C #D4C323 #23D46A
split-complementary
#2334D4 #D46A23 #8CD423
monochromatic
#121A6B #1A279F #2334D4 #5260E2 #8690EB

Accessibility & contrast

On white

8.36
#2334D4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#2334D4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2334D4
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2334D4#FFFFFF#000000##FFFFFF
##2334D41.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057D9
Deuteranopia (green-blind)
#0045D1
Tritanopia (blue-blind)
#006482
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2334d4;
/* rgb */ color: rgb(35, 52, 212);
/* oklch */ color: oklch(44.4% 0.238 268.0);
Tailwind
colors: {
  custom: {
    50: '#816de3',
    500: '#2334d4',
    950: '#000000',
  },
}
SCSS
$custom: #2334d4;
$custom-light: #816de3;
$custom-dark: #000000;
JSON
{
  "hex": "#2334d4",
  "rgb": {
    "r": 35,
    "g": 52,
    "b": 212
  },
  "hsl": {
    "h": 234.237,
    "s": 71.66,
    "l": 48.431
  },
  "oklch": {
    "l": 0.44442,
    "c": 0.23804,
    "h": 268
  },
  "luminance": 0.07567
}

Semantic roles & 50–950 ramp

primary
#2334D4
secondary
#D4CC7E
accent
#DD39EE
background
#F8F6FE
surface
#F0ECFC
border
#CBC7D5
text
#0D0716
muted
#7D7A84

Preview Lab

Preview with #2334D4

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

Preview Lab → · Contrast checker → · Palette generator →

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