#2038BC#2038BC

#2038BC is a dark, highly saturated blue. Relative luminance 0.068; OKLCH L 42.4% C 0.206 H 267.4°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#2038BC
RGBrgb(32, 56, 188)
HSLhsl(231, 71%, 43%)
HSVhsv(231, 83%, 74%)
CMYKcmyk(83%, 70.2%, 0%, 26.3%)
CIE-LABlab(31.27, 40.55, -71.03)
CIE-LCHlch(31.27, 81.79, 299.72°)
OKLaboklab(42.38% -0.0093 -0.2059)
OKLCHoklch(42.38% 0.206 267.4)
XYZxyz(11.0838, 6.7649, 48.2888)
Luminance0.0677 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2038BC #BCA420
analogous
#2086BC #2038BC #5620BC
triadic
#2038BC #BC2038 #38BC20
tetradic
#2038BC #BC2086 #BCA420 #20BC56
square
#2038BC #BC2086 #BCA420 #20BC56
split-complementary
#2038BC #BC5620 #86BC20
monochromatic
#0E1953 #172888 #2038BC #3B54DE #7082E7

Accessibility & contrast

On white

8.92
#2038BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#2038BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2038BC
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2038BC#FFFFFF#000000##FFFFFF
##2038BC1.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.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: #2038bc;
/* rgb */ color: rgb(32, 56, 188);
/* oklch */ color: oklch(42.4% 0.206 267.4);
Tailwind
colors: {
  custom: {
    50: '#796fd1',
    500: '#2038bc',
    950: '#000000',
  },
}
SCSS
$custom: #2038bc;
$custom-light: #796fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#2038bc",
  "rgb": {
    "r": 32,
    "g": 56,
    "b": 188
  },
  "hsl": {
    "h": 230.769,
    "s": 70.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.42381,
    "c": 0.20607,
    "h": 267.4
  },
  "luminance": 0.06766
}

Semantic roles & 50–950 ramp

primary
#2038BC
secondary
#CDBE6B
accent
#D23AEE
background
#F8F6FD
surface
#EFECFA
border
#CAC7D3
text
#0B0714
muted
#7C7A83

Preview Lab

Preview with #2038BC

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

Preview Lab → · Contrast checker → · Palette generator →

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