#2C438E#2C438E

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

Color values

HEX#2C438E
RGBrgb(44, 67, 142)
HSLhsl(226, 53%, 36%)
HSVhsv(226, 69%, 56%)
CMYKcmyk(69%, 52.8%, 0%, 44.3%)
CIE-LABlab(30.65, 17.39, -44.33)
CIE-LCHlch(30.65, 47.62, 291.43°)
OKLaboklab(40.85% -0.0053 -0.1273)
OKLCHoklch(40.85% 0.127 267.6)
XYZxyz(7.9267, 6.5020, 26.4232)
Luminance0.0650 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C438E #8E772C
analogous
#2C748E #2C438E #462C8E
triadic
#2C438E #8E2C43 #438E2C
tetradic
#2C438E #8E2C74 #8E772C #2C8E46
square
#2C438E #8E2C74 #8E772C #2C8E46
split-complementary
#2C438E #8E462C #748E2C
monochromatic
#0F1731 #1E2D5F #2C438E #3A59BD #657ECF

Accessibility & contrast

On white

9.13
#2C438E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#2C438E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C438E
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C438E#FFFFFF#000000##FFFFFF
##2C438E1.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154D91
Deuteranopia (green-blind)
#00448C
Tritanopia (blue-blind)
#005562
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2c438e;
/* rgb */ color: rgb(44, 67, 142);
/* oklch */ color: oklch(40.8% 0.127 267.6);
Tailwind
colors: {
  custom: {
    50: '#7176b0',
    500: '#2c438e',
    950: '#000000',
  },
}
SCSS
$custom: #2c438e;
$custom-light: #7176b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c438e",
  "rgb": {
    "r": 44,
    "g": 67,
    "b": 142
  },
  "hsl": {
    "h": 225.918,
    "s": 52.688,
    "l": 36.471
  },
  "oklch": {
    "l": 0.40847,
    "c": 0.12738,
    "h": 267.6
  },
  "luminance": 0.06503
}

Semantic roles & 50–950 ramp

primary
#2C438E
secondary
#B6A260
accent
#BA4CDC
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2C438E

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

Preview Lab → · Contrast checker → · Palette generator →

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