#2339AF#2339AF

#2339AF is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.4% C 0.188 H 268.1°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#2339AF
RGBrgb(35, 57, 175)
HSLhsl(231, 67%, 41%)
HSVhsv(231, 80%, 69%)
CMYKcmyk(80%, 67.4%, 0%, 31.4%)
CIE-LABlab(30.35, 35.42, -64.82)
CIE-LCHlch(30.35, 73.87, 298.65°)
OKLaboklab(41.36% -0.0062 -0.1877)
OKLCHoklch(41.36% 0.188 268.1)
XYZxyz(9.8914, 6.3776, 41.2588)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2339AF #AF9923
analogous
#237FAF #2339AF #5323AF
triadic
#2339AF #AF2339 #39AF23
tetradic
#2339AF #AF237F #AF9923 #23AF53
square
#2339AF #AF237F #AF9923 #23AF53
split-complementary
#2339AF #AF5323 #7FAF23
monochromatic
#0F1849 #19287C #2339AF #3851D7 #6B7EE1

Accessibility & contrast

On white

9.23
#2339AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#2339AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2339AF
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2339AF#FFFFFF#000000##FFFFFF
##2339AF1.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB3
Deuteranopia (green-blind)
#0041AD
Tritanopia (blue-blind)
#00596F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2339af;
/* rgb */ color: rgb(35, 57, 175);
/* oklch */ color: oklch(41.4% 0.188 268.1);
Tailwind
colors: {
  custom: {
    50: '#776fc8',
    500: '#2339af',
    950: '#000000',
  },
}
SCSS
$custom: #2339af;
$custom-light: #776fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#2339af",
  "rgb": {
    "r": 35,
    "g": 57,
    "b": 175
  },
  "hsl": {
    "h": 230.571,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.41363,
    "c": 0.18781,
    "h": 268.1
  },
  "luminance": 0.06379
}

Semantic roles & 50–950 ramp

primary
#2339AF
secondary
#C7B866
accent
#CF3EEA
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2339AF

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

Preview Lab → · Contrast checker → · Palette generator →

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