#2339B2#2339B2

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

Color values

HEX#2339B2
RGBrgb(35, 57, 178)
HSLhsl(231, 67%, 42%)
HSVhsv(231, 80%, 70%)
CMYKcmyk(80.3%, 68%, 0%, 30.2%)
CIE-LABlab(30.63, 36.52, -66.14)
CIE-LCHlch(30.63, 75.55, 298.91°)
OKLaboklab(41.66% -0.0064 -0.1915)
OKLCHoklch(41.66% 0.192 268.1)
XYZxyz(10.1894, 6.4967, 42.8278)
Luminance0.0650 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2339B2 #B29C23
analogous
#2381B2 #2339B2 #5523B2
triadic
#2339B2 #B22339 #39B223
tetradic
#2339B2 #B22381 #B29C23 #23B255
square
#2339B2 #B22381 #B29C23 #23B255
split-complementary
#2339B2 #B25523 #81B223
monochromatic
#0F184C #19297F #2339B2 #3A52D8 #6D7FE2

Accessibility & contrast

On white

9.13
#2339B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#2339B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2339B2
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2339B2#FFFFFF#000000##FFFFFF
##2339B21.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB6
Deuteranopia (green-blind)
#0041B0
Tritanopia (blue-blind)
#005A71
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2339b2;
/* rgb */ color: rgb(35, 57, 178);
/* oklch */ color: oklch(41.7% 0.192 268.1);
Tailwind
colors: {
  custom: {
    50: '#776fca',
    500: '#2339b2',
    950: '#000000',
  },
}
SCSS
$custom: #2339b2;
$custom-light: #776fca;
$custom-dark: #000000;
JSON
{
  "hex": "#2339b2",
  "rgb": {
    "r": 35,
    "g": 57,
    "b": 178
  },
  "hsl": {
    "h": 230.769,
    "s": 67.136,
    "l": 41.765
  },
  "oklch": {
    "l": 0.41659,
    "c": 0.19166,
    "h": 268.1
  },
  "luminance": 0.06498
}

Semantic roles & 50–950 ramp

primary
#2339B2
secondary
#C9BA68
accent
#D03EEA
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2339B2

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

Preview Lab → · Contrast checker → · Palette generator →

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