#2334B1#2334B1

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

Color values

HEX#2334B1
RGBrgb(35, 52, 177)
HSLhsl(233, 67%, 42%)
HSVhsv(233, 80%, 69%)
CMYKcmyk(80.2%, 70.6%, 0%, 30.6%)
CIE-LABlab(29.38, 39.29, -67.61)
CIE-LCHlch(29.38, 78.20, 300.17°)
OKLaboklab(40.72% -0.004 -0.1958)
OKLCHoklch(40.72% 0.196 268.8)
XYZxyz(9.8542, 5.9865, 42.2226)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2334B1 #B1A023
analogous
#237BB1 #2334B1 #5923B1
triadic
#2334B1 #B12334 #34B123
tetradic
#2334B1 #B1237B #B1A023 #23B159
square
#2334B1 #B1237B #B1A023 #23B159
split-complementary
#2334B1 #B15923 #7BB123
monochromatic
#0F164B #19257E #2334B1 #394CD8 #6C7AE2

Accessibility & contrast

On white

9.56
#2334B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#2334B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2334B1
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2334B1#FFFFFF#000000##FFFFFF
##2334B11.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB5
Deuteranopia (green-blind)
#003EAF
Tritanopia (blue-blind)
#00576E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2334b1;
/* rgb */ color: rgb(35, 52, 177);
/* oklch */ color: oklch(40.7% 0.196 268.8);
Tailwind
colors: {
  custom: {
    50: '#786cca',
    500: '#2334b1',
    950: '#000000',
  },
}
SCSS
$custom: #2334b1;
$custom-light: #786cca;
$custom-dark: #000000;
JSON
{
  "hex": "#2334b1",
  "rgb": {
    "r": 35,
    "g": 52,
    "b": 177
  },
  "hsl": {
    "h": 232.817,
    "s": 66.981,
    "l": 41.569
  },
  "oklch": {
    "l": 0.40719,
    "c": 0.19589,
    "h": 268.8
  },
  "luminance": 0.05988
}

Semantic roles & 50–950 ramp

primary
#2334B1
secondary
#C8BD68
accent
#D53EEA
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2334B1

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

Preview Lab → · Contrast checker → · Palette generator →

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