#2C438C#2C438C

#2C438C is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.7% C 0.124 H 267.5°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#2C438C
RGBrgb(44, 67, 140)
HSLhsl(226, 52%, 36%)
HSVhsv(226, 69%, 55%)
CMYKcmyk(68.6%, 52.1%, 0%, 45.1%)
CIE-LABlab(30.50, 16.63, -43.33)
CIE-LCHlch(30.50, 46.41, 291.00°)
OKLaboklab(40.69% -0.0055 -0.1243)
OKLCHoklch(40.69% 0.124 267.5)
XYZxyz(7.7779, 6.4425, 25.6395)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C438C #8C752C
analogous
#2C738C #2C438C #452C8C
triadic
#2C438C #8C2C43 #438C2C
tetradic
#2C438C #8C2C73 #8C752C #2C8C45
square
#2C438C #8C2C73 #8C752C #2C8C45
split-complementary
#2C438C #8C452C #738C2C
monochromatic
#0F162F #1D2D5D #2C438C #3B59BB #647ECE

Accessibility & contrast

On white

9.18
#2C438C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#2C438C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C438C
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C438C#FFFFFF#000000##FFFFFF
##2C438C1.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184C8F
Deuteranopia (green-blind)
#00448B
Tritanopia (blue-blind)
#005461
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2c438c;
/* rgb */ color: rgb(44, 67, 140);
/* oklch */ color: oklch(40.7% 0.124 267.5);
Tailwind
colors: {
  custom: {
    50: '#7176ae',
    500: '#2c438c',
    950: '#000000',
  },
}
SCSS
$custom: #2c438c;
$custom-light: #7176ae;
$custom-dark: #000000;
JSON
{
  "hex": "#2c438c",
  "rgb": {
    "r": 44,
    "g": 67,
    "b": 140
  },
  "hsl": {
    "h": 225.625,
    "s": 52.174,
    "l": 36.078
  },
  "oklch": {
    "l": 0.40694,
    "c": 0.12445,
    "h": 267.5
  },
  "luminance": 0.06443
}

Semantic roles & 50–950 ramp

primary
#2C438C
secondary
#B5A05F
accent
#B94CDC
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2C438C

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

Preview Lab → · Contrast checker → · Palette generator →

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