#2F367B#2F367B

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

Color values

HEX#2F367B
RGBrgb(47, 54, 123)
HSLhsl(234, 45%, 33%)
HSVhsv(234, 62%, 48%)
CMYKcmyk(61.8%, 56.1%, 0%, 51.8%)
CIE-LABlab(25.78, 19.72, -40.35)
CIE-LCHlch(25.78, 44.91, 296.05°)
OKLaboklab(36.79% 0.0097 -0.1157)
OKLCHoklch(36.79% 0.116 274.8)
XYZxyz(6.0654, 4.6723, 19.3173)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F367B #7B742F
analogous
#2F5C7B #2F367B #4E2F7B
triadic
#2F367B #7B2F36 #367B2F
tetradic
#2F367B #7B2F5C #7B742F #2F7B4E
square
#2F367B #7B2F5C #7B742F #2F7B4E
split-complementary
#2F367B #7B4E2F #5C7B2F
monochromatic
#0D0F22 #1E234F #2F367B #4049A7 #626BC3

Accessibility & contrast

On white

10.85
#2F367B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F367B
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F367B#FFFFFF#000000##FFFFFF
##2F367B1.0010.851.9310.85
#FFFFFF10.851.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09407D
Deuteranopia (green-blind)
#003A7A
Tritanopia (blue-blind)
#004653
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2f367b;
/* rgb */ color: rgb(47, 54, 123);
/* oklch */ color: oklch(36.8% 0.116 274.8);
Tailwind
colors: {
  custom: {
    50: '#6f6ca2',
    500: '#2f367b',
    950: '#000000',
  },
}
SCSS
$custom: #2f367b;
$custom-light: #6f6ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f367b",
  "rgb": {
    "r": 47,
    "g": 54,
    "b": 123
  },
  "hsl": {
    "h": 234.474,
    "s": 44.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.36786,
    "c": 0.11607,
    "h": 274.8
  },
  "luminance": 0.04673
}

Semantic roles & 50–950 ramp

primary
#2F367B
secondary
#AAA35C
accent
#C953D4
background
#F7F6FA
surface
#EDEBF3
border
#C8C6CD
text
#08070F
muted
#7B7A7F

Preview Lab

Preview with #2F367B

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

Preview Lab → · Contrast checker → · Palette generator →

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