#2F459B#2F459B

#2F459B is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.5% C 0.143 H 268.8°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#2F459B
RGBrgb(47, 69, 155)
HSLhsl(228, 53%, 40%)
HSVhsv(228, 70%, 61%)
CMYKcmyk(69.7%, 55.5%, 0%, 39.2%)
CIE-LABlab(32.32, 21.44, -49.55)
CIE-LCHlch(32.32, 53.99, 293.39°)
OKLaboklab(42.46% -0.0031 -0.1425)
OKLCHoklch(42.46% 0.143 268.8)
XYZxyz(9.2148, 7.2262, 31.9132)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F459B #9B852F
analogous
#2F7B9B #2F459B #4F2F9B
triadic
#2F459B #9B2F45 #459B2F
tetradic
#2F459B #9B2F7B #9B852F #2F9B4F
square
#2F459B #9B2F7B #9B852F #2F9B4F
split-complementary
#2F459B #9B4F2F #7B9B2F
monochromatic
#131B3D #21306C #2F459B #425DC6 #7185D4

Accessibility & contrast

On white

8.59
#2F459B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#2F459B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F459B
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F459B#FFFFFF#000000##FFFFFF
##2F459B1.008.592.458.59
#FFFFFF8.591.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00519E
Deuteranopia (green-blind)
#004799
Tritanopia (blue-blind)
#005A69
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2f459b;
/* rgb */ color: rgb(47, 69, 155);
/* oklch */ color: oklch(42.5% 0.143 268.8);
Tailwind
colors: {
  custom: {
    50: '#7578b9',
    500: '#2f459b',
    950: '#000000',
  },
}
SCSS
$custom: #2f459b;
$custom-light: #7578b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f459b",
  "rgb": {
    "r": 47,
    "g": 69,
    "b": 155
  },
  "hsl": {
    "h": 227.778,
    "s": 53.465,
    "l": 39.608
  },
  "oklch": {
    "l": 0.42455,
    "c": 0.14257,
    "h": 268.8
  },
  "luminance": 0.07227
}

Semantic roles & 50–950 ramp

primary
#2F459B
secondary
#BBAB6A
accent
#BF4BDD
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2F459B

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

Preview Lab → · Contrast checker → · Palette generator →

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