#2339B1#2339B1

#2339B1 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.6% C 0.190 H 268.1°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#2339B1
RGBrgb(35, 57, 177)
HSLhsl(231, 67%, 42%)
HSVhsv(231, 80%, 69%)
CMYKcmyk(80.2%, 67.8%, 0%, 30.6%)
CIE-LABlab(30.54, 36.15, -65.70)
CIE-LCHlch(30.54, 74.99, 298.82°)
OKLaboklab(41.56% -0.0063 -0.1903)
OKLCHoklch(41.56% 0.19 268.1)
XYZxyz(10.0893, 6.4567, 42.3010)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2339B1 #B19B23
analogous
#2380B1 #2339B1 #5423B1
triadic
#2339B1 #B12339 #39B123
tetradic
#2339B1 #B12380 #B19B23 #23B154
square
#2339B1 #B12380 #B19B23 #23B154
split-complementary
#2339B1 #B15423 #80B123
monochromatic
#0F184B #19297E #2339B1 #3952D8 #6C7FE2

Accessibility & contrast

On white

9.16
#2339B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#2339B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2339B1
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2339B1#FFFFFF#000000##FFFFFF
##2339B11.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB5
Deuteranopia (green-blind)
#0041AF
Tritanopia (blue-blind)
#005A70
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2339b1;
/* rgb */ color: rgb(35, 57, 177);
/* oklch */ color: oklch(41.6% 0.190 268.1);
Tailwind
colors: {
  custom: {
    50: '#776fc9',
    500: '#2339b1',
    950: '#000000',
  },
}
SCSS
$custom: #2339b1;
$custom-light: #776fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#2339b1",
  "rgb": {
    "r": 35,
    "g": 57,
    "b": 177
  },
  "hsl": {
    "h": 230.704,
    "s": 66.981,
    "l": 41.569
  },
  "oklch": {
    "l": 0.4156,
    "c": 0.19037,
    "h": 268.1
  },
  "luminance": 0.06458
}

Semantic roles & 50–950 ramp

primary
#2339B1
secondary
#C8B968
accent
#CF3EEA
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2339B1

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

Preview Lab → · Contrast checker → · Palette generator →

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