#2438BD#2438BD

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

Color values

HEX#2438BD
RGBrgb(36, 56, 189)
HSLhsl(232, 68%, 44%)
HSVhsv(232, 81%, 74%)
CMYKcmyk(81%, 70.4%, 0%, 25.9%)
CIE-LABlab(31.52, 41.19, -71.19)
CIE-LCHlch(31.52, 82.24, 300.05°)
OKLaboklab(42.64% -0.006 -0.2063)
OKLCHoklch(42.64% 0.206 268.3)
XYZxyz(11.3239, 6.8762, 48.8647)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2438BD #BDA924
analogous
#2485BD #2438BD #5D24BD
triadic
#2438BD #BD2438 #38BD24
tetradic
#2438BD #BD2485 #BDA924 #24BD5D
square
#2438BD #BD2485 #BDA924 #24BD5D
split-complementary
#2438BD #BD5D24 #85BD24
monochromatic
#101A56 #1A298A #2438BD #4357DB #7685E5

Accessibility & contrast

On white

8.84
#2438BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#2438BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2438BD
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2438BD#FFFFFF#000000##FFFFFF
##2438BD1.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.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: #2438bd;
/* rgb */ color: rgb(36, 56, 189);
/* oklch */ color: oklch(42.6% 0.206 268.3);
Tailwind
colors: {
  custom: {
    50: '#7b6fd2',
    500: '#2438bd',
    950: '#000000',
  },
}
SCSS
$custom: #2438bd;
$custom-light: #7b6fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#2438bd",
  "rgb": {
    "r": 36,
    "g": 56,
    "b": 189
  },
  "hsl": {
    "h": 232.157,
    "s": 68,
    "l": 44.118
  },
  "oklch": {
    "l": 0.42641,
    "c": 0.20635,
    "h": 268.3
  },
  "luminance": 0.06878
}

Semantic roles & 50–950 ramp

primary
#2438BD
secondary
#CCC070
accent
#D43DEB
background
#F8F6FD
surface
#EFECFA
border
#CAC7D3
text
#0B0714
muted
#7C7A83

Preview Lab

Preview with #2438BD

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

Preview Lab → · Contrast checker → · Palette generator →

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