#2C307E#2C307E

#2C307E is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.6% C 0.130 H 275.4°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#2C307E
RGBrgb(44, 48, 126)
HSLhsl(237, 48%, 33%)
HSVhsv(237, 65%, 49%)
CMYKcmyk(65.1%, 61.9%, 0%, 50.6%)
CIE-LABlab(24.18, 24.35, -44.85)
CIE-LCHlch(24.18, 51.03, 298.50°)
OKLaboklab(35.61% 0.0122 -0.129)
OKLCHoklch(35.61% 0.13 275.4)
XYZxyz(5.8603, 4.1553, 20.2278)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C307E #7E7A2C
analogous
#2C597E #2C307E #512C7E
triadic
#2C307E #7E2C30 #307E2C
tetradic
#2C307E #7E2C59 #7E7A2C #2C7E51
square
#2C307E #7E2C59 #7E7A2C #2C7E51
split-complementary
#2C307E #7E512C #597E2C
monochromatic
#0C0D23 #1C1F51 #2C307E #3C41AB #5E63C7

Accessibility & contrast

On white

11.47
#2C307E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#2C307E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C307E
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C307E#FFFFFF#000000##FFFFFF
##2C307E1.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D81
Deuteranopia (green-blind)
#00367C
Tritanopia (blue-blind)
#004352
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2c307e;
/* rgb */ color: rgb(44, 48, 126);
/* oklch */ color: oklch(35.6% 0.130 275.4);
Tailwind
colors: {
  custom: {
    50: '#6f68a4',
    500: '#2c307e',
    950: '#000000',
  },
}
SCSS
$custom: #2c307e;
$custom-light: #6f68a4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c307e",
  "rgb": {
    "r": 44,
    "g": 48,
    "b": 126
  },
  "hsl": {
    "h": 237.073,
    "s": 48.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.35613,
    "c": 0.12962,
    "h": 275.4
  },
  "luminance": 0.04156
}

Semantic roles & 50–950 ramp

primary
#2C307E
secondary
#ADA959
accent
#D150D8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2C307E

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

Preview Lab → · Contrast checker → · Palette generator →

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