#2F366A#2F366A

#2F366A is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.5% C 0.090 H 275.1°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#2F366A
RGBrgb(47, 54, 106)
HSLhsl(233, 39%, 30%)
HSVhsv(233, 56%, 42%)
CMYKcmyk(55.7%, 49.1%, 0%, 58.4%)
CIE-LABlab(24.59, 13.55, -31.43)
CIE-LCHlch(24.59, 34.23, 293.33°)
OKLaboklab(35.5% 0.008 -0.0894)
OKLCHoklch(35.5% 0.09 275.1)
XYZxyz(5.0921, 4.2829, 14.1912)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F366A #6A632F
analogous
#2F546A #2F366A #452F6A
triadic
#2F366A #6A2F36 #366A2F
tetradic
#2F366A #6A2F54 #6A632F #2F6A45
square
#2F366A #6A2F54 #6A632F #2F6A45
split-complementary
#2F366A #6A452F #546A2F
monochromatic
#090B15 #1C2040 #2F366A #424C94 #5C67B7

Accessibility & contrast

On white

11.31
#2F366A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2F366A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F366A
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F366A#FFFFFF#000000##FFFFFF
##2F366A1.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3D6C
Deuteranopia (green-blind)
#183869
Tritanopia (blue-blind)
#14414B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2f366a;
/* rgb */ color: rgb(47, 54, 106);
/* oklch */ color: oklch(35.5% 0.090 275.1);
Tailwind
colors: {
  custom: {
    50: '#6c6c95',
    500: '#2f366a',
    950: '#000000',
  },
}
SCSS
$custom: #2f366a;
$custom-light: #6c6c95;
$custom-dark: #000000;
JSON
{
  "hex": "#2f366a",
  "rgb": {
    "r": 47,
    "g": 54,
    "b": 106
  },
  "hsl": {
    "h": 232.881,
    "s": 38.562,
    "l": 30
  },
  "oklch": {
    "l": 0.35502,
    "c": 0.0898,
    "h": 275.1
  },
  "luminance": 0.04283
}

Semantic roles & 50–950 ramp

primary
#2F366A
secondary
#9B9459
accent
#C159CE
background
#F6F6F9
surface
#ECEBF1
border
#C7C6CB
text
#07070D
muted
#7A7A7E

Preview Lab

Preview with #2F366A

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

Preview Lab → · Contrast checker → · Palette generator →

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