#2F367C#2F367C

#2F367C is a dark, moderate blue. Relative luminance 0.047; OKLCH L 36.9% C 0.118 H 274.8°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#2F367C
RGBrgb(47, 54, 124)
HSLhsl(235, 45%, 34%)
HSVhsv(235, 62%, 49%)
CMYKcmyk(62.1%, 56.5%, 0%, 51.4%)
CIE-LABlab(25.85, 20.09, -40.86)
CIE-LCHlch(25.85, 45.53, 296.18°)
OKLaboklab(36.87% 0.0098 -0.1172)
OKLCHoklch(36.87% 0.118 274.8)
XYZxyz(6.1284, 4.6974, 19.6486)
Luminance0.0470 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F367C #7C752F
analogous
#2F5C7C #2F367C #4E2F7C
triadic
#2F367C #7C2F36 #367C2F
tetradic
#2F367C #7C2F5C #7C752F #2F7C4E
square
#2F367C #7C2F5C #7C752F #2F7C4E
split-complementary
#2F367C #7C4E2F #5C7C2F
monochromatic
#0D0F23 #1E2350 #2F367C #4049A8 #626BC3

Accessibility & contrast

On white

10.83
#2F367C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#2F367C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F367C
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F367C#FFFFFF#000000##FFFFFF
##2F367C1.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06417E
Deuteranopia (green-blind)
#003A7B
Tritanopia (blue-blind)
#004653
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2f367c;
/* rgb */ color: rgb(47, 54, 124);
/* oklch */ color: oklch(36.9% 0.118 274.8);
Tailwind
colors: {
  custom: {
    50: '#706ca2',
    500: '#2f367c',
    950: '#000000',
  },
}
SCSS
$custom: #2f367c;
$custom-light: #706ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f367c",
  "rgb": {
    "r": 47,
    "g": 54,
    "b": 124
  },
  "hsl": {
    "h": 234.545,
    "s": 45.029,
    "l": 33.529
  },
  "oklch": {
    "l": 0.36866,
    "c": 0.11757,
    "h": 274.8
  },
  "luminance": 0.04698
}

Semantic roles & 50–950 ramp

primary
#2F367C
secondary
#AAA35C
accent
#C953D5
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08070F
muted
#7B7A7F

Preview Lab

Preview with #2F367C

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

Preview Lab → · Contrast checker → · Palette generator →

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