#2339A9#2339A9

#2339A9 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.8% C 0.180 H 268.1°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#2339A9
RGBrgb(35, 57, 169)
HSLhsl(230, 66%, 40%)
HSVhsv(230, 79%, 66%)
CMYKcmyk(79.3%, 66.3%, 0%, 33.7%)
CIE-LABlab(29.78, 33.20, -62.16)
CIE-LCHlch(29.78, 70.47, 298.11°)
OKLaboklab(40.78% -0.0058 -0.1799)
OKLCHoklch(40.78% 0.18 268.1)
XYZxyz(9.3152, 6.1471, 38.2240)
Luminance0.0615 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2339A9 #A99323
analogous
#237CA9 #2339A9 #5023A9
triadic
#2339A9 #A92339 #39A923
tetradic
#2339A9 #A9237C #A99323 #23A950
square
#2339A9 #A9237C #A99323 #23A950
split-complementary
#2339A9 #A95023 #7CA923
monochromatic
#0E1744 #192876 #2339A9 #344FD5 #677BDF

Accessibility & contrast

On white

9.42
#2339A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#2339A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2339A9
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2339A9#FFFFFF#000000##FFFFFF
##2339A91.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAD
Deuteranopia (green-blind)
#0040A7
Tritanopia (blue-blind)
#00576C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2339a9;
/* rgb */ color: rgb(35, 57, 169);
/* oklch */ color: oklch(40.8% 0.180 268.1);
Tailwind
colors: {
  custom: {
    50: '#756fc4',
    500: '#2339a9',
    950: '#000000',
  },
}
SCSS
$custom: #2339a9;
$custom-light: #756fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2339a9",
  "rgb": {
    "r": 35,
    "g": 57,
    "b": 169
  },
  "hsl": {
    "h": 230.149,
    "s": 65.686,
    "l": 40
  },
  "oklch": {
    "l": 0.40777,
    "c": 0.18001,
    "h": 268.1
  },
  "luminance": 0.06148
}

Semantic roles & 50–950 ramp

primary
#2339A9
secondary
#C5B563
accent
#CD3FE9
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2339A9

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

Preview Lab → · Contrast checker → · Palette generator →

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