#2F4BA2#2F4BA2

#2F4BA2 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.3% C 0.145 H 266.9°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#2F4BA2
RGBrgb(47, 75, 162)
HSLhsl(225, 55%, 41%)
HSVhsv(225, 71%, 64%)
CMYKcmyk(71%, 53.7%, 0%, 36.5%)
CIE-LABlab(34.49, 20.05, -50.26)
CIE-LCHlch(34.49, 54.11, 291.75°)
OKLaboklab(44.26% -0.0079 -0.1445)
OKLCHoklch(44.26% 0.145 266.9)
XYZxyz(10.2077, 8.2441, 35.2287)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4BA2 #A2862F
analogous
#2F84A2 #2F4BA2 #4C2FA2
triadic
#2F4BA2 #A22F4B #4BA22F
tetradic
#2F4BA2 #A22F84 #A2862F #2FA24C
square
#2F4BA2 #A22F84 #A2862F #2FA24C
split-complementary
#2F4BA2 #A24C2F #84A22F
monochromatic
#131F43 #213573 #2F4BA2 #4565C9 #758CD7

Accessibility & contrast

On white

7.93
#2F4BA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#2F4BA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4BA2
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4BA2#FFFFFF#000000##FFFFFF
##2F4BA21.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E57A5
Deuteranopia (green-blind)
#004CA0
Tritanopia (blue-blind)
#00606F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2f4ba2;
/* rgb */ color: rgb(47, 75, 162);
/* oklch */ color: oklch(44.3% 0.145 266.9);
Tailwind
colors: {
  custom: {
    50: '#767cbe',
    500: '#2f4ba2',
    950: '#000000',
  },
}
SCSS
$custom: #2f4ba2;
$custom-light: #767cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4ba2",
  "rgb": {
    "r": 47,
    "g": 75,
    "b": 162
  },
  "hsl": {
    "h": 225.391,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.44255,
    "c": 0.14474,
    "h": 266.9
  },
  "luminance": 0.08245
}

Semantic roles & 50–950 ramp

primary
#2F4BA2
secondary
#BFAB6E
accent
#BA49DE
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2F4BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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