#2C538E#2C538E

#2C538E is a dark, moderate blue. Relative luminance 0.087; OKLCH L 44.5% C 0.107 H 258.5°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#2C538E
RGBrgb(44, 83, 142)
HSLhsl(216, 53%, 36%)
HSVhsv(216, 69%, 56%)
CMYKcmyk(69%, 41.5%, 0%, 44.3%)
CIE-LABlab(35.35, 6.67, -36.78)
CIE-LCHlch(35.35, 37.38, 280.28°)
OKLaboklab(44.46% -0.0213 -0.1048)
OKLCHoklch(44.46% 0.107 258.5)
XYZxyz(9.0127, 8.6741, 26.7852)
Luminance0.0867 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C538E #8E672C
analogous
#2C848E #2C538E #362C8E
triadic
#2C538E #8E2C53 #538E2C
tetradic
#2C538E #8E2C84 #8E672C #2C8E36
square
#2C538E #8E2C84 #8E672C #2C8E36
split-complementary
#2C538E #8E362C #848E2C
monochromatic
#0F1C31 #1E385F #2C538E #3A6EBD #658FCF

Accessibility & contrast

On white

7.68
#2C538E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#2C538E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C538E
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C538E#FFFFFF#000000##FFFFFF
##2C538E1.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385890
Deuteranopia (green-blind)
#294F8D
Tritanopia (blue-blind)
#006169
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2c538e;
/* rgb */ color: rgb(44, 83, 142);
/* oklch */ color: oklch(44.5% 0.107 258.5);
Tailwind
colors: {
  custom: {
    50: '#7182af',
    500: '#2c538e',
    950: '#000000',
  },
}
SCSS
$custom: #2c538e;
$custom-light: #7182af;
$custom-dark: #000000;
JSON
{
  "hex": "#2c538e",
  "rgb": {
    "r": 44,
    "g": 83,
    "b": 142
  },
  "hsl": {
    "h": 216.122,
    "s": 52.688,
    "l": 36.471
  },
  "oklch": {
    "l": 0.44456,
    "c": 0.10699,
    "h": 258.5
  },
  "luminance": 0.08675
}

Semantic roles & 50–950 ramp

primary
#2C538E
secondary
#B69460
accent
#A34CDC
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2C538E

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

Preview Lab → · Contrast checker → · Palette generator →

#2C538E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva