#2F357A#2F357A

#2F357A is a dark, moderate blue. Relative luminance 0.046; OKLCH L 36.5% C 0.116 H 275.3°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#2F357A
RGBrgb(47, 53, 122)
HSLhsl(235, 44%, 33%)
HSVhsv(235, 61%, 48%)
CMYKcmyk(61.5%, 56.6%, 0%, 52.2%)
CIE-LABlab(25.43, 20.04, -40.28)
CIE-LCHlch(25.43, 44.99, 296.45°)
OKLaboklab(36.5% 0.0108 -0.1155)
OKLCHoklch(36.5% 0.116 275.3)
XYZxyz(5.9571, 4.5552, 18.9739)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F357A #7A742F
analogous
#2F5A7A #2F357A #4E2F7A
triadic
#2F357A #7A2F35 #357A2F
tetradic
#2F357A #7A2F5A #7A742F #2F7A4E
square
#2F357A #7A2F5A #7A742F #2F7A4E
split-complementary
#2F357A #7A4E2F #5A7A2F
monochromatic
#0D0F22 #1E224E #2F357A #4048A6 #6169C2

Accessibility & contrast

On white

10.99
#2F357A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2F357A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F357A
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F357A#FFFFFF#000000##FFFFFF
##2F357A1.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06407C
Deuteranopia (green-blind)
#003979
Tritanopia (blue-blind)
#004552
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2f357a;
/* rgb */ color: rgb(47, 53, 122);
/* oklch */ color: oklch(36.5% 0.116 275.3);
Tailwind
colors: {
  custom: {
    50: '#6f6ca1',
    500: '#2f357a',
    950: '#000000',
  },
}
SCSS
$custom: #2f357a;
$custom-light: #6f6ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f357a",
  "rgb": {
    "r": 47,
    "g": 53,
    "b": 122
  },
  "hsl": {
    "h": 235.2,
    "s": 44.379,
    "l": 33.137
  },
  "oklch": {
    "l": 0.36499,
    "c": 0.11599,
    "h": 275.3
  },
  "luminance": 0.04556
}

Semantic roles & 50–950 ramp

primary
#2F357A
secondary
#A9A35C
accent
#CA54D4
background
#F7F6FA
surface
#EDEBF3
border
#C8C6CD
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2F357A

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

Preview Lab → · Contrast checker → · Palette generator →

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