#2C438B#2C438B

#2C438B is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.6% C 0.123 H 267.4°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#2C438B
RGBrgb(44, 67, 139)
HSLhsl(225, 52%, 36%)
HSVhsv(225, 68%, 55%)
CMYKcmyk(68.3%, 51.8%, 0%, 45.5%)
CIE-LABlab(30.43, 16.25, -42.83)
CIE-LCHlch(30.43, 45.81, 290.78°)
OKLaboklab(40.62% -0.0056 -0.1228)
OKLCHoklch(40.62% 0.123 267.4)
XYZxyz(7.7045, 6.4131, 25.2529)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C438B #8B742C
analogous
#2C728B #2C438B #442C8B
triadic
#2C438B #8B2C43 #438B2C
tetradic
#2C438B #8B2C72 #8B742C #2C8B44
square
#2C438B #8B2C72 #8B742C #2C8B44
split-complementary
#2C438B #8B442C #728B2C
monochromatic
#0F162E #1D2D5D #2C438B #3B59B9 #647DCE

Accessibility & contrast

On white

9.20
#2C438B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C438B
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C438B#FFFFFF#000000##FFFFFF
##2C438B1.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194C8E
Deuteranopia (green-blind)
#00448A
Tritanopia (blue-blind)
#005460
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2c438b;
/* rgb */ color: rgb(44, 67, 139);
/* oklch */ color: oklch(40.6% 0.123 267.4);
Tailwind
colors: {
  custom: {
    50: '#7176ad',
    500: '#2c438b',
    950: '#000000',
  },
}
SCSS
$custom: #2c438b;
$custom-light: #7176ad;
$custom-dark: #000000;
JSON
{
  "hex": "#2c438b",
  "rgb": {
    "r": 44,
    "g": 67,
    "b": 139
  },
  "hsl": {
    "h": 225.474,
    "s": 51.913,
    "l": 35.882
  },
  "oklch": {
    "l": 0.40617,
    "c": 0.12298,
    "h": 267.4
  },
  "luminance": 0.06414
}

Semantic roles & 50–950 ramp

primary
#2C438B
secondary
#B49F5F
accent
#B94CDB
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2C438B

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

Preview Lab → · Contrast checker → · Palette generator →

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