#2F367A#2F367A

#2F367A is a dark, moderate blue. Relative luminance 0.046; OKLCH L 36.7% C 0.115 H 274.8°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#2F367A
RGBrgb(47, 54, 122)
HSLhsl(234, 44%, 33%)
HSVhsv(234, 61%, 48%)
CMYKcmyk(61.5%, 55.7%, 0%, 52.2%)
CIE-LABlab(25.71, 19.36, -39.83)
CIE-LCHlch(25.71, 44.29, 295.92°)
OKLaboklab(36.71% 0.0097 -0.1142)
OKLCHoklch(36.71% 0.115 274.8)
XYZxyz(6.0032, 4.6474, 18.9893)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F367A #7A732F
analogous
#2F5B7A #2F367A #4D2F7A
triadic
#2F367A #7A2F36 #367A2F
tetradic
#2F367A #7A2F5B #7A732F #2F7A4D
square
#2F367A #7A2F5B #7A732F #2F7A4D
split-complementary
#2F367A #7A4D2F #5B7A2F
monochromatic
#0D0F22 #1E224E #2F367A #404AA6 #616AC2

Accessibility & contrast

On white

10.88
#2F367A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F367A
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F367A#FFFFFF#000000##FFFFFF
##2F367A1.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B407C
Deuteranopia (green-blind)
#003A79
Tritanopia (blue-blind)
#004652
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2f367a;
/* rgb */ color: rgb(47, 54, 122);
/* oklch */ color: oklch(36.7% 0.115 274.8);
Tailwind
colors: {
  custom: {
    50: '#6f6ca1',
    500: '#2f367a',
    950: '#000000',
  },
}
SCSS
$custom: #2f367a;
$custom-light: #6f6ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f367a",
  "rgb": {
    "r": 47,
    "g": 54,
    "b": 122
  },
  "hsl": {
    "h": 234.4,
    "s": 44.379,
    "l": 33.137
  },
  "oklch": {
    "l": 0.36707,
    "c": 0.11457,
    "h": 274.8
  },
  "luminance": 0.04648
}

Semantic roles & 50–950 ramp

primary
#2F367A
secondary
#A9A25C
accent
#C854D4
background
#F7F6FA
surface
#EDEBF3
border
#C8C6CD
text
#08070F
muted
#7B7A7F

Preview Lab

Preview with #2F367A

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

Preview Lab → · Contrast checker → · Palette generator →

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