#2538BD#2538BD

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

Color values

HEX#2538BD
RGBrgb(37, 56, 189)
HSLhsl(233, 67%, 44%)
HSVhsv(233, 80%, 74%)
CMYKcmyk(80.4%, 70.4%, 0%, 25.9%)
CIE-LABlab(31.57, 41.26, -71.12)
CIE-LCHlch(31.57, 82.22, 300.12°)
OKLaboklab(42.68% -0.0051 -0.206)
OKLCHoklch(42.68% 0.206 268.6)
XYZxyz(11.3593, 6.8945, 48.8663)
Luminance0.0690 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2538BD #BDAA25
analogous
#2584BD #2538BD #5E25BD
triadic
#2538BD #BD2538 #38BD25
tetradic
#2538BD #BD2584 #BDAA25 #25BD5E
square
#2538BD #BD2584 #BDAA25 #25BD5E
split-complementary
#2538BD #BD5E25 #84BD25
monochromatic
#111A57 #1B298A #2538BD #4557DB #7885E5

Accessibility & contrast

On white

8.83
#2538BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2538BD
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2538BD#FFFFFF#000000##FFFFFF
##2538BD1.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.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: #2538bd;
/* rgb */ color: rgb(37, 56, 189);
/* oklch */ color: oklch(42.7% 0.206 268.6);
Tailwind
colors: {
  custom: {
    50: '#7b6fd2',
    500: '#2538bd',
    950: '#000000',
  },
}
SCSS
$custom: #2538bd;
$custom-light: #7b6fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#2538bd",
  "rgb": {
    "r": 37,
    "g": 56,
    "b": 189
  },
  "hsl": {
    "h": 232.5,
    "s": 67.257,
    "l": 44.314
  },
  "oklch": {
    "l": 0.42683,
    "c": 0.20609,
    "h": 268.6
  },
  "luminance": 0.06896
}

Semantic roles & 50–950 ramp

primary
#2538BD
secondary
#CCC172
accent
#D53EEA
background
#F8F6FD
surface
#EFECFA
border
#CAC7D3
text
#0B0714
muted
#7C7A83

Preview Lab

Preview with #2538BD

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

Preview Lab → · Contrast checker → · Palette generator →

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