#2338BD#2338BD

#2338BD is a dark, highly saturated blue. Relative luminance 0.069; OKLCH L 42.6% C 0.207 H 268.1°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#2338BD
RGBrgb(35, 56, 189)
HSLhsl(232, 69%, 44%)
HSVhsv(232, 81%, 74%)
CMYKcmyk(81.5%, 70.4%, 0%, 25.9%)
CIE-LABlab(31.48, 41.11, -71.26)
CIE-LCHlch(31.48, 82.27, 299.98°)
OKLaboklab(42.6% -0.0069 -0.2065)
OKLCHoklch(42.6% 0.207 268.1)
XYZxyz(11.2894, 6.8585, 48.8631)
Luminance0.0686 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2338BD #BDA823
analogous
#2385BD #2338BD #5B23BD
triadic
#2338BD #BD2338 #38BD23
tetradic
#2338BD #BD2385 #BDA823 #23BD5B
square
#2338BD #BD2385 #BDA823 #23BD5B
split-complementary
#2338BD #BD5B23 #85BD23
monochromatic
#101956 #192989 #2338BD #4156DC #7584E5

Accessibility & contrast

On white

8.85
#2338BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#2338BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2338BD
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2338BD#FFFFFF#000000##FFFFFF
##2338BD1.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C1
Deuteranopia (green-blind)
#0043BB
Tritanopia (blue-blind)
#005D76
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2338bd;
/* rgb */ color: rgb(35, 56, 189);
/* oklch */ color: oklch(42.6% 0.207 268.1);
Tailwind
colors: {
  custom: {
    50: '#7a6fd2',
    500: '#2338bd',
    950: '#000000',
  },
}
SCSS
$custom: #2338bd;
$custom-light: #7a6fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#2338bd",
  "rgb": {
    "r": 35,
    "g": 56,
    "b": 189
  },
  "hsl": {
    "h": 231.818,
    "s": 68.75,
    "l": 43.922
  },
  "oklch": {
    "l": 0.426,
    "c": 0.20658,
    "h": 268.1
  },
  "luminance": 0.0686
}

Semantic roles & 50–950 ramp

primary
#2338BD
secondary
#CDC06F
accent
#D43CEC
background
#F8F6FD
surface
#EFECFA
border
#CAC7D3
text
#0B0714
muted
#7C7A83

Preview Lab

Preview with #2338BD

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

Preview Lab → · Contrast checker → · Palette generator →

#2338BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva