#2538BC#2538BC

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

Color values

HEX#2538BC
RGBrgb(37, 56, 188)
HSLhsl(232, 67%, 44%)
HSVhsv(232, 80%, 74%)
CMYKcmyk(80.3%, 70.2%, 0%, 26.3%)
CIE-LABlab(31.47, 40.91, -70.69)
CIE-LCHlch(31.47, 81.67, 300.06°)
OKLaboklab(42.58% -0.005 -0.2048)
OKLCHoklch(42.58% 0.205 268.6)
XYZxyz(11.2511, 6.8512, 48.2966)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2538BC #BCA925
analogous
#2584BC #2538BC #5D25BC
triadic
#2538BC #BC2538 #38BC25
tetradic
#2538BC #BC2584 #BCA925 #25BC5D
square
#2538BC #BC2584 #BCA925 #25BC5D
split-complementary
#2538BC #BC5D25 #84BC25
monochromatic
#111A56 #1B2989 #2538BC #4457DA #7785E4

Accessibility & contrast

On white

8.86
#2538BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#2538BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2538BC
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2538BC#FFFFFF#000000##FFFFFF
##2538BC1.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2538bc;
/* rgb */ color: rgb(37, 56, 188);
/* oklch */ color: oklch(42.6% 0.205 268.6);
Tailwind
colors: {
  custom: {
    50: '#7b6fd1',
    500: '#2538bc',
    950: '#000000',
  },
}
SCSS
$custom: #2538bc;
$custom-light: #7b6fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#2538bc",
  "rgb": {
    "r": 37,
    "g": 56,
    "b": 188
  },
  "hsl": {
    "h": 232.45,
    "s": 67.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.42581,
    "c": 0.20485,
    "h": 268.6
  },
  "luminance": 0.06853
}

Semantic roles & 50–950 ramp

primary
#2538BC
secondary
#CCC071
accent
#D43EEA
background
#F8F6FD
surface
#EFECFA
border
#CAC7D3
text
#0B0714
muted
#7C7A83

Preview Lab

Preview with #2538BC

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

Preview Lab → · Contrast checker → · Palette generator →

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