#2339A4#2339A4

#2339A4 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.3% C 0.173 H 268.2°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#2339A4
RGBrgb(35, 57, 164)
HSLhsl(230, 65%, 39%)
HSVhsv(230, 79%, 64%)
CMYKcmyk(78.7%, 65.2%, 0%, 35.7%)
CIE-LABlab(29.32, 31.33, -59.90)
CIE-LCHlch(29.32, 67.60, 297.61°)
OKLaboklab(40.3% -0.0056 -0.1733)
OKLCHoklch(40.3% 0.173 268.2)
XYZxyz(8.8548, 5.9629, 35.7990)
Luminance0.0596 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2339A4 #A48E23
analogous
#237AA4 #2339A4 #4D23A4
triadic
#2339A4 #A42339 #39A423
tetradic
#2339A4 #A4237A #A48E23 #23A44D
square
#2339A4 #A4237A #A48E23 #23A44D
split-complementary
#2339A4 #A44D23 #7AA423
monochromatic
#0D163F #182772 #2339A4 #314DD3 #6478DE

Accessibility & contrast

On white

9.58
#2339A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#2339A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2339A4
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2339A4#FFFFFF#000000##FFFFFF
##2339A41.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA7
Deuteranopia (green-blind)
#003FA2
Tritanopia (blue-blind)
#005569
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2339a4;
/* rgb */ color: rgb(35, 57, 164);
/* oklch */ color: oklch(40.3% 0.173 268.2);
Tailwind
colors: {
  custom: {
    50: '#746fc0',
    500: '#2339a4',
    950: '#000000',
  },
}
SCSS
$custom: #2339a4;
$custom-light: #746fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#2339a4",
  "rgb": {
    "r": 35,
    "g": 57,
    "b": 164
  },
  "hsl": {
    "h": 229.767,
    "s": 64.824,
    "l": 39.02
  },
  "oklch": {
    "l": 0.40297,
    "c": 0.17342,
    "h": 268.2
  },
  "luminance": 0.05964
}

Semantic roles & 50–950 ramp

primary
#2339A4
secondary
#C3B260
accent
#CB40E8
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2339A4

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

Preview Lab → · Contrast checker → · Palette generator →

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