#2334A8#2334A8

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

Color values

HEX#2334A8
RGBrgb(35, 52, 168)
HSLhsl(232, 66%, 40%)
HSVhsv(232, 79%, 66%)
CMYKcmyk(79.2%, 69%, 0%, 34.1%)
CIE-LABlab(28.48, 36.04, -63.69)
CIE-LCHlch(28.48, 73.18, 299.51°)
OKLaboklab(39.8% -0.0032 -0.1844)
OKLCHoklch(39.8% 0.184 269)
XYZxyz(8.9866, 5.6394, 37.6531)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2334A8 #A89723
analogous
#2376A8 #2334A8 #5523A8
triadic
#2334A8 #A82334 #34A823
tetradic
#2334A8 #A82376 #A89723 #23A855
square
#2334A8 #A82376 #A89723 #23A855
split-complementary
#2334A8 #A85523 #76A823
monochromatic
#0E1543 #182475 #2334A8 #3448D5 #6676DF

Accessibility & contrast

On white

9.87
#2334A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#2334A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2334A8
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2334A8#FFFFFF#000000##FFFFFF
##2334A81.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAC
Deuteranopia (green-blind)
#003DA6
Tritanopia (blue-blind)
#00546A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2334a8;
/* rgb */ color: rgb(35, 52, 168);
/* oklch */ color: oklch(39.8% 0.184 269.0);
Tailwind
colors: {
  custom: {
    50: '#756cc3',
    500: '#2334a8',
    950: '#000000',
  },
}
SCSS
$custom: #2334a8;
$custom-light: #756cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#2334a8",
  "rgb": {
    "r": 35,
    "g": 52,
    "b": 168
  },
  "hsl": {
    "h": 232.331,
    "s": 65.517,
    "l": 39.804
  },
  "oklch": {
    "l": 0.39803,
    "c": 0.18444,
    "h": 269
  },
  "luminance": 0.0564
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2334A8

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

Preview Lab → · Contrast checker → · Palette generator →

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