#2F4895#2F4895

#2F4895 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.6% C 0.130 H 267.2°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#2F4895
RGBrgb(47, 72, 149)
HSLhsl(225, 52%, 38%)
HSVhsv(225, 68%, 58%)
CMYKcmyk(68.5%, 51.7%, 0%, 41.6%)
CIE-LABlab(32.72, 17.16, -45.25)
CIE-LCHlch(32.72, 48.40, 290.77°)
OKLaboklab(42.62% -0.0064 -0.1299)
OKLCHoklch(42.62% 0.13 267.2)
XYZxyz(8.9126, 7.4081, 29.3882)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4895 #957C2F
analogous
#2F7B95 #2F4895 #492F95
triadic
#2F4895 #952F48 #48952F
tetradic
#2F4895 #952F7B #957C2F #2F9549
square
#2F4895 #952F7B #957C2F #2F9549
split-complementary
#2F4895 #95492F #7B952F
monochromatic
#121B38 #203266 #2F4895 #3F5FC2 #6D86D1

Accessibility & contrast

On white

8.46
#2F4895 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#2F4895 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4895
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4895#FFFFFF#000000##FFFFFF
##2F48951.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5298
Deuteranopia (green-blind)
#004993
Tritanopia (blue-blind)
#005A67
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2f4895;
/* rgb */ color: rgb(47, 72, 149);
/* oklch */ color: oklch(42.6% 0.130 267.2);
Tailwind
colors: {
  custom: {
    50: '#747ab5',
    500: '#2f4895',
    950: '#000000',
  },
}
SCSS
$custom: #2f4895;
$custom-light: #747ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4895",
  "rgb": {
    "r": 47,
    "g": 72,
    "b": 149
  },
  "hsl": {
    "h": 225.294,
    "s": 52.041,
    "l": 38.431
  },
  "oklch": {
    "l": 0.42621,
    "c": 0.13002,
    "h": 267.2
  },
  "luminance": 0.07409
}

Semantic roles & 50–950 ramp

primary
#2F4895
secondary
#B8A567
accent
#B84CDB
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2F4895

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

Preview Lab → · Contrast checker → · Palette generator →

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