#2337D4#2337D4

#2337D4 is a dark, highly saturated blue. Relative luminance 0.078; OKLCH L 44.9% C 0.235 H 267.8°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#2337D4
RGBrgb(35, 55, 212)
HSLhsl(233, 72%, 48%)
HSVhsv(233, 83%, 83%)
CMYKcmyk(83.5%, 74.1%, 0%, 16.9%)
CIE-LABlab(33.65, 49.66, -81.10)
CIE-LCHlch(33.65, 95.10, 301.48°)
OKLaboklab(44.86% -0.0091 -0.2351)
OKLCHoklch(44.86% 0.235 267.8)
XYZxyz(13.9389, 7.8415, 63.0535)
Luminance0.0784 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2337D4 #D4C023
analogous
#238FD4 #2337D4 #6723D4
triadic
#2337D4 #D42337 #37D423
tetradic
#2337D4 #D4238F #D4C023 #23D467
square
#2337D4 #D4238F #D4C023 #23D467
split-complementary
#2337D4 #D46723 #8FD423
monochromatic
#121C6B #1A299F #2337D4 #5262E2 #8692EB

Accessibility & contrast

On white

8.18
#2337D4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#2337D4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2337D4
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2337D4#FFFFFF#000000##FFFFFF
##2337D41.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058D9
Deuteranopia (green-blind)
#0046D1
Tritanopia (blue-blind)
#006583
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2337d4;
/* rgb */ color: rgb(35, 55, 212);
/* oklch */ color: oklch(44.9% 0.235 267.8);
Tailwind
colors: {
  custom: {
    50: '#806fe3',
    500: '#2337d4',
    950: '#000000',
  },
}
SCSS
$custom: #2337d4;
$custom-light: #806fe3;
$custom-dark: #000000;
JSON
{
  "hex": "#2337d4",
  "rgb": {
    "r": 35,
    "g": 55,
    "b": 212
  },
  "hsl": {
    "h": 233.22,
    "s": 71.66,
    "l": 48.431
  },
  "oklch": {
    "l": 0.44861,
    "c": 0.23526,
    "h": 267.8
  },
  "luminance": 0.07843
}

Semantic roles & 50–950 ramp

primary
#2337D4
secondary
#D4CB7E
accent
#DA39EE
background
#F8F6FE
surface
#F0ECFC
border
#CBC7D5
text
#0D0716
muted
#7D7A84

Preview Lab

Preview with #2337D4

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

Preview Lab → · Contrast checker → · Palette generator →

#2337D4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva