#2F367D#2F367D

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

Color values

HEX#2F367D
RGBrgb(47, 54, 125)
HSLhsl(235, 45%, 34%)
HSVhsv(235, 62%, 49%)
CMYKcmyk(62.4%, 56.8%, 0%, 51%)
CIE-LABlab(25.93, 20.45, -41.36)
CIE-LCHlch(25.93, 46.14, 296.31°)
OKLaboklab(36.95% 0.0098 -0.1187)
OKLCHoklch(36.95% 0.119 274.7)
XYZxyz(6.1919, 4.7229, 19.9834)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F367D #7D762F
analogous
#2F5D7D #2F367D #4F2F7D
triadic
#2F367D #7D2F36 #367D2F
tetradic
#2F367D #7D2F5D #7D762F #2F7D4F
square
#2F367D #7D2F5D #7D762F #2F7D4F
split-complementary
#2F367D #7D4F2F #5D7D2F
monochromatic
#0E1024 #1E2351 #2F367D #4049A9 #626BC4

Accessibility & contrast

On white

10.80
#2F367D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F367D
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F367D#FFFFFF#000000##FFFFFF
##2F367D1.0010.801.9410.80
#FFFFFF10.801.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04417F
Deuteranopia (green-blind)
#003A7C
Tritanopia (blue-blind)
#004754
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2f367d;
/* rgb */ color: rgb(47, 54, 125);
/* oklch */ color: oklch(36.9% 0.119 274.7);
Tailwind
colors: {
  custom: {
    50: '#706ca3',
    500: '#2f367d',
    950: '#000000',
  },
}
SCSS
$custom: #2f367d;
$custom-light: #706ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f367d",
  "rgb": {
    "r": 47,
    "g": 54,
    "b": 125
  },
  "hsl": {
    "h": 234.615,
    "s": 45.349,
    "l": 33.725
  },
  "oklch": {
    "l": 0.36946,
    "c": 0.11907,
    "h": 274.7
  },
  "luminance": 0.04723
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F367D

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

Preview Lab → · Contrast checker → · Palette generator →

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