#2C438D#2C438D

#2C438D is a dark, vivid blue. Relative luminance 0.065; OKLCH L 40.8% C 0.126 H 267.5°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#2C438D
RGBrgb(44, 67, 141)
HSLhsl(226, 52%, 36%)
HSVhsv(226, 69%, 55%)
CMYKcmyk(68.8%, 52.5%, 0%, 44.7%)
CIE-LABlab(30.57, 17.01, -43.83)
CIE-LCHlch(30.57, 47.01, 291.22°)
OKLaboklab(40.77% -0.0054 -0.1258)
OKLCHoklch(40.77% 0.126 267.5)
XYZxyz(7.8519, 6.4721, 26.0296)
Luminance0.0647 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C438D #8D762C
analogous
#2C748D #2C438D #462C8D
triadic
#2C438D #8D2C43 #438D2C
tetradic
#2C438D #8D2C74 #8D762C #2C8D46
square
#2C438D #8D2C74 #8D762C #2C8D46
split-complementary
#2C438D #8D462C #748D2C
monochromatic
#0F1730 #1D2D5E #2C438D #3B59BC #657ECF

Accessibility & contrast

On white

9.15
#2C438D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C438D
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C438D#FFFFFF#000000##FFFFFF
##2C438D1.009.152.299.15
#FFFFFF9.151.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c438d;
/* rgb */ color: rgb(44, 67, 141);
/* oklch */ color: oklch(40.8% 0.126 267.5);
Tailwind
colors: {
  custom: {
    50: '#7176af',
    500: '#2c438d',
    950: '#000000',
  },
}
SCSS
$custom: #2c438d;
$custom-light: #7176af;
$custom-dark: #000000;
JSON
{
  "hex": "#2c438d",
  "rgb": {
    "r": 44,
    "g": 67,
    "b": 141
  },
  "hsl": {
    "h": 225.773,
    "s": 52.432,
    "l": 36.275
  },
  "oklch": {
    "l": 0.4077,
    "c": 0.12592,
    "h": 267.5
  },
  "luminance": 0.06473
}

Semantic roles & 50–950 ramp

primary
#2C438D
secondary
#B5A160
accent
#BA4CDC
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2C438D

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

Preview Lab → · Contrast checker → · Palette generator →

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