#2339A6#2339A6

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

Color values

HEX#2339A6
RGBrgb(35, 57, 166)
HSLhsl(230, 65%, 39%)
HSVhsv(230, 79%, 65%)
CMYKcmyk(78.9%, 65.7%, 0%, 34.9%)
CIE-LABlab(29.50, 32.08, -60.81)
CIE-LCHlch(29.50, 68.75, 297.81°)
OKLaboklab(40.49% -0.0057 -0.176)
OKLCHoklch(40.49% 0.176 268.2)
XYZxyz(9.0368, 6.0357, 36.7577)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2339A6 #A69023
analogous
#237AA6 #2339A6 #4F23A6
triadic
#2339A6 #A62339 #39A623
tetradic
#2339A6 #A6237A #A69023 #23A64F
square
#2339A6 #A6237A #A69023 #23A64F
split-complementary
#2339A6 #A64F23 #7AA623
monochromatic
#0E1641 #182873 #2339A6 #324DD4 #6579DF

Accessibility & contrast

On white

9.51
#2339A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#2339A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2339A6
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2339A6#FFFFFF#000000##FFFFFF
##2339A61.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA9
Deuteranopia (green-blind)
#003FA4
Tritanopia (blue-blind)
#00566A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2339a6;
/* rgb */ color: rgb(35, 57, 166);
/* oklch */ color: oklch(40.5% 0.176 268.2);
Tailwind
colors: {
  custom: {
    50: '#746fc1',
    500: '#2339a6',
    950: '#000000',
  },
}
SCSS
$custom: #2339a6;
$custom-light: #746fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#2339a6",
  "rgb": {
    "r": 35,
    "g": 57,
    "b": 166
  },
  "hsl": {
    "h": 229.924,
    "s": 65.174,
    "l": 39.412
  },
  "oklch": {
    "l": 0.40488,
    "c": 0.17607,
    "h": 268.2
  },
  "luminance": 0.06037
}

Semantic roles & 50–950 ramp

primary
#2339A6
secondary
#C4B361
accent
#CC40E8
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2339A6

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

Preview Lab → · Contrast checker → · Palette generator →

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