#2F366B#2F366B

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

Color values

HEX#2F366B
RGBrgb(47, 54, 107)
HSLhsl(233, 39%, 30%)
HSVhsv(233, 56%, 42%)
CMYKcmyk(56.1%, 49.5%, 0%, 58%)
CIE-LABlab(24.65, 13.91, -31.97)
CIE-LCHlch(24.65, 34.86, 293.52°)
OKLaboklab(35.57% 0.0081 -0.091)
OKLCHoklch(35.57% 0.091 275.1)
XYZxyz(5.1445, 4.3039, 14.4667)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F366B #6B642F
analogous
#2F546B #2F366B #462F6B
triadic
#2F366B #6B2F36 #366B2F
tetradic
#2F366B #6B2F54 #6B642F #2F6B46
square
#2F366B #6B2F54 #6B642F #2F6B46
split-complementary
#2F366B #6B462F #546B2F
monochromatic
#0A0B16 #1C2140 #2F366B #424B96 #5D67B8

Accessibility & contrast

On white

11.29
#2F366B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F366B
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F366B#FFFFFF#000000##FFFFFF
##2F366B1.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3D6D
Deuteranopia (green-blind)
#17386A
Tritanopia (blue-blind)
#13424B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2f366b;
/* rgb */ color: rgb(47, 54, 107);
/* oklch */ color: oklch(35.6% 0.091 275.1);
Tailwind
colors: {
  custom: {
    50: '#6d6c96',
    500: '#2f366b',
    950: '#000000',
  },
}
SCSS
$custom: #2f366b;
$custom-light: #6d6c96;
$custom-dark: #000000;
JSON
{
  "hex": "#2f366b",
  "rgb": {
    "r": 47,
    "g": 54,
    "b": 107
  },
  "hsl": {
    "h": 233,
    "s": 38.961,
    "l": 30.196
  },
  "oklch": {
    "l": 0.35574,
    "c": 0.09138,
    "h": 275.1
  },
  "luminance": 0.04304
}

Semantic roles & 50–950 ramp

primary
#2F366B
secondary
#9C9559
accent
#C159CF
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07070D
muted
#7A7A7E

Preview Lab

Preview with #2F366B

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

Preview Lab → · Contrast checker → · Palette generator →

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