#2A367F#2A367F

#2A367F is a dark, vivid blue. Relative luminance 0.047; OKLCH L 36.8% C 0.123 H 271.9°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#2A367F
RGBrgb(42, 54, 127)
HSLhsl(232, 50%, 33%)
HSVhsv(232, 67%, 50%)
CMYKcmyk(66.9%, 57.5%, 0%, 50.2%)
CIE-LABlab(25.75, 20.27, -42.93)
CIE-LCHlch(25.75, 47.47, 295.27°)
OKLaboklab(36.77% 0.004 -0.1234)
OKLCHoklch(36.77% 0.123 271.9)
XYZxyz(6.1035, 4.6623, 20.6528)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A367F #7F732A
analogous
#2A607F #2A367F #482A7F
triadic
#2A367F #7F2A36 #367F2A
tetradic
#2A367F #7F2A60 #7F732A #2A7F48
square
#2A367F #7F2A60 #7F732A #2A7F48
split-complementary
#2A367F #7F482A #607F2A
monochromatic
#0C0F23 #1B2251 #2A367F #394AAD #5B6AC9

Accessibility & contrast

On white

10.87
#2A367F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#2A367F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A367F
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A367F#FFFFFF#000000##FFFFFF
##2A367F1.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004182
Deuteranopia (green-blind)
#00397E
Tritanopia (blue-blind)
#004755
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2a367f;
/* rgb */ color: rgb(42, 54, 127);
/* oklch */ color: oklch(36.8% 0.123 271.9);
Tailwind
colors: {
  custom: {
    50: '#6e6ca5',
    500: '#2a367f',
    950: '#000000',
  },
}
SCSS
$custom: #2a367f;
$custom-light: #6e6ca5;
$custom-dark: #000000;
JSON
{
  "hex": "#2a367f",
  "rgb": {
    "r": 42,
    "g": 54,
    "b": 127
  },
  "hsl": {
    "h": 231.529,
    "s": 50.296,
    "l": 33.137
  },
  "oklch": {
    "l": 0.36773,
    "c": 0.12347,
    "h": 271.9
  },
  "luminance": 0.04663
}

Semantic roles & 50–950 ramp

primary
#2A367F
secondary
#AEA257
accent
#C64EDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08070F
muted
#7B7A7F

Preview Lab

Preview with #2A367F

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

Preview Lab → · Contrast checker → · Palette generator →

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