#2D267C#2D267C

#2D267C is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.7% C 0.140 H 279.4°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#2D267C
RGBrgb(45, 38, 124)
HSLhsl(245, 53%, 32%)
HSVhsv(245, 69%, 49%)
CMYKcmyk(63.7%, 69.4%, 0%, 51.4%)
CIE-LABlab(21.58, 30.40, -47.82)
CIE-LCHlch(21.58, 56.67, 302.44°)
OKLaboklab(33.67% 0.0229 -0.1378)
OKLCHoklch(33.67% 0.14 279.4)
XYZxyz(5.4122, 3.3989, 19.4357)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D267C #757C26
analogous
#264A7C #2D267C #58267C
triadic
#2D267C #7C2D26 #267C2D
tetradic
#2D267C #7C264A #757C26 #267C58
square
#2D267C #7C264A #757C26 #267C58
split-complementary
#2D267C #7C5826 #4A7C26
monochromatic
#0B091E #1C184D #2D267C #3E34AB #5C52CA

Accessibility & contrast

On white

12.50
#2D267C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#2D267C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D267C
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D267C#FFFFFF#000000##FFFFFF
##2D267C1.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377F
Deuteranopia (green-blind)
#00307A
Tritanopia (blue-blind)
#003C4D
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2d267c;
/* rgb */ color: rgb(45, 38, 124);
/* oklch */ color: oklch(33.7% 0.140 279.4);
Tailwind
colors: {
  custom: {
    50: '#7061a3',
    500: '#2d267c',
    950: '#000000',
  },
}
SCSS
$custom: #2d267c;
$custom-light: #7061a3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d267c",
  "rgb": {
    "r": 45,
    "g": 38,
    "b": 124
  },
  "hsl": {
    "h": 244.884,
    "s": 53.086,
    "l": 31.765
  },
  "oklch": {
    "l": 0.33675,
    "c": 0.1397,
    "h": 279.4
  },
  "luminance": 0.03399
}

Semantic roles & 50–950 ramp

primary
#2D267C
secondary
#A6AE50
accent
#DC4BD1
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#08050F
muted
#7B797F

Preview Lab

Preview with #2D267C

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

Preview Lab → · Contrast checker → · Palette generator →

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