#2338BC#2338BC

#2338BC is a dark, highly saturated blue. Relative luminance 0.068; OKLCH L 42.5% C 0.205 H 268.1°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#2338BC
RGBrgb(35, 56, 188)
HSLhsl(232, 69%, 44%)
HSVhsv(232, 81%, 74%)
CMYKcmyk(81.4%, 70.2%, 0%, 26.3%)
CIE-LABlab(31.38, 40.76, -70.83)
CIE-LCHlch(31.38, 81.72, 299.92°)
OKLaboklab(42.5% -0.0068 -0.2052)
OKLCHoklch(42.5% 0.205 268.1)
XYZxyz(11.1813, 6.8152, 48.2934)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2338BC #BCA723
analogous
#2384BC #2338BC #5A23BC
triadic
#2338BC #BC2338 #38BC23
tetradic
#2338BC #BC2384 #BCA723 #23BC5A
square
#2338BC #BC2384 #BCA723 #23BC5A
split-complementary
#2338BC #BC5A23 #84BC23
monochromatic
#101955 #192988 #2338BC #4156DC #7484E5

Accessibility & contrast

On white

8.89
#2338BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#2338BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2338BC
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2338BC#FFFFFF#000000##FFFFFF
##2338BC1.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C0
Deuteranopia (green-blind)
#0042BA
Tritanopia (blue-blind)
#005D76
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2338bc;
/* rgb */ color: rgb(35, 56, 188);
/* oklch */ color: oklch(42.5% 0.205 268.1);
Tailwind
colors: {
  custom: {
    50: '#7a6fd1',
    500: '#2338bc',
    950: '#000000',
  },
}
SCSS
$custom: #2338bc;
$custom-light: #7a6fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#2338bc",
  "rgb": {
    "r": 35,
    "g": 56,
    "b": 188
  },
  "hsl": {
    "h": 231.765,
    "s": 68.61,
    "l": 43.725
  },
  "oklch": {
    "l": 0.42498,
    "c": 0.20535,
    "h": 268.1
  },
  "luminance": 0.06817
}

Semantic roles & 50–950 ramp

primary
#2338BC
secondary
#CCBF6F
accent
#D33CEB
background
#F8F6FD
surface
#EFECFA
border
#CAC7D3
text
#0B0714
muted
#7C7A83

Preview Lab

Preview with #2338BC

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

Preview Lab → · Contrast checker → · Palette generator →

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