#2C438A#2C438A

#2C438A is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.5% C 0.122 H 267.3°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#2C438A
RGBrgb(44, 67, 138)
HSLhsl(225, 52%, 36%)
HSVhsv(225, 68%, 54%)
CMYKcmyk(68.1%, 51.4%, 0%, 45.9%)
CIE-LABlab(30.36, 15.87, -42.32)
CIE-LCHlch(30.36, 45.20, 290.56°)
OKLaboklab(40.54% -0.0057 -0.1214)
OKLCHoklch(40.54% 0.122 267.3)
XYZxyz(7.6317, 6.3840, 24.8699)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C438A #8A732C
analogous
#2C728A #2C438A #442C8A
triadic
#2C438A #8A2C43 #438A2C
tetradic
#2C438A #8A2C72 #8A732C #2C8A44
square
#2C438A #8A2C72 #8A732C #2C8A44
split-complementary
#2C438A #8A442C #728A2C
monochromatic
#0E162D #1D2C5C #2C438A #3B5AB8 #637DCD

Accessibility & contrast

On white

9.22
#2C438A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#2C438A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C438A
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C438A#FFFFFF#000000##FFFFFF
##2C438A1.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4C8D
Deuteranopia (green-blind)
#004389
Tritanopia (blue-blind)
#005460
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2c438a;
/* rgb */ color: rgb(44, 67, 138);
/* oklch */ color: oklch(40.5% 0.122 267.3);
Tailwind
colors: {
  custom: {
    50: '#7076ad',
    500: '#2c438a',
    950: '#000000',
  },
}
SCSS
$custom: #2c438a;
$custom-light: #7076ad;
$custom-dark: #000000;
JSON
{
  "hex": "#2c438a",
  "rgb": {
    "r": 44,
    "g": 67,
    "b": 138
  },
  "hsl": {
    "h": 225.319,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.40541,
    "c": 0.12151,
    "h": 267.3
  },
  "luminance": 0.06385
}

Semantic roles & 50–950 ramp

primary
#2C438A
secondary
#B49F5E
accent
#B84DDB
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2C438A

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

Preview Lab → · Contrast checker → · Palette generator →

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