#2336A8#2336A8

#2336A8 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.1% C 0.182 H 268.7°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#2336A8
RGBrgb(35, 54, 168)
HSLhsl(231, 66%, 40%)
HSVhsv(231, 79%, 66%)
CMYKcmyk(79.2%, 67.9%, 0%, 34.1%)
CIE-LABlab(28.96, 34.76, -62.91)
CIE-LCHlch(28.96, 71.87, 298.93°)
OKLaboklab(40.15% -0.0042 -0.1821)
OKLCHoklch(40.15% 0.182 268.7)
XYZxyz(9.0777, 5.8218, 37.6835)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2336A8 #A89523
analogous
#2378A8 #2336A8 #5323A8
triadic
#2336A8 #A82336 #36A823
tetradic
#2336A8 #A82378 #A89523 #23A853
square
#2336A8 #A82378 #A89523 #23A853
split-complementary
#2336A8 #A85323 #78A823
monochromatic
#0E1543 #182675 #2336A8 #344BD5 #6678DF

Accessibility & contrast

On white

9.70
#2336A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#2336A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2336A8
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2336A8#FFFFFF#000000##FFFFFF
##2336A81.009.702.169.70
#FFFFFF9.701.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAC
Deuteranopia (green-blind)
#003EA6
Tritanopia (blue-blind)
#00556A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2336a8;
/* rgb */ color: rgb(35, 54, 168);
/* oklch */ color: oklch(40.1% 0.182 268.7);
Tailwind
colors: {
  custom: {
    50: '#756dc3',
    500: '#2336a8',
    950: '#000000',
  },
}
SCSS
$custom: #2336a8;
$custom-light: #756dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#2336a8",
  "rgb": {
    "r": 35,
    "g": 54,
    "b": 168
  },
  "hsl": {
    "h": 231.429,
    "s": 65.517,
    "l": 39.804
  },
  "oklch": {
    "l": 0.40148,
    "c": 0.18218,
    "h": 268.7
  },
  "luminance": 0.05823
}

Semantic roles & 50–950 ramp

primary
#2336A8
secondary
#C5B762
accent
#D03FE8
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2336A8

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

Preview Lab → · Contrast checker → · Palette generator →

#2336A8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva