#2C398E#2C398E

#2C398E is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.8% C 0.141 H 271.6°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#2C398E
RGBrgb(44, 57, 142)
HSLhsl(232, 53%, 36%)
HSVhsv(232, 69%, 56%)
CMYKcmyk(69%, 59.9%, 0%, 44.3%)
CIE-LABlab(27.88, 24.18, -48.80)
CIE-LCHlch(27.88, 54.47, 296.36°)
OKLaboklab(38.77% 0.0039 -0.1406)
OKLCHoklch(38.77% 0.141 271.6)
XYZxyz(7.3827, 5.4140, 26.2419)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C398E #8E812C
analogous
#2C6A8E #2C398E #502C8E
triadic
#2C398E #8E2C39 #398E2C
tetradic
#2C398E #8E2C6A #8E812C #2C8E50
square
#2C398E #8E2C6A #8E812C #2C8E50
split-complementary
#2C398E #8E502C #6A8E2C
monochromatic
#0F1331 #1E265F #2C398E #3A4CBD #6573CF

Accessibility & contrast

On white

10.08
#2C398E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#2C398E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C398E
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C398E#FFFFFF#000000##FFFFFF
##2C398E1.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004691
Deuteranopia (green-blind)
#003D8C
Tritanopia (blue-blind)
#004E5D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2c398e;
/* rgb */ color: rgb(44, 57, 142);
/* oklch */ color: oklch(38.8% 0.141 271.6);
Tailwind
colors: {
  custom: {
    50: '#726fb0',
    500: '#2c398e',
    950: '#000000',
  },
}
SCSS
$custom: #2c398e;
$custom-light: #726fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c398e",
  "rgb": {
    "r": 44,
    "g": 57,
    "b": 142
  },
  "hsl": {
    "h": 232.041,
    "s": 52.688,
    "l": 36.471
  },
  "oklch": {
    "l": 0.38773,
    "c": 0.14063,
    "h": 271.6
  },
  "luminance": 0.05415
}

Semantic roles & 50–950 ramp

primary
#2C398E
secondary
#B6AA60
accent
#C94CDC
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #2C398E

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

Preview Lab → · Contrast checker → · Palette generator →

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