#2B2F8E#2B2F8E

#2B2F8E is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.8% C 0.154 H 274.1°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#2B2F8E
RGBrgb(43, 47, 142)
HSLhsl(238, 54%, 36%)
HSVhsv(238, 70%, 56%)
CMYKcmyk(69.7%, 66.9%, 0%, 44.3%)
CIE-LABlab(25.26, 30.68, -53.09)
CIE-LCHlch(25.26, 61.32, 300.03°)
OKLaboklab(36.82% 0.0109 -0.1533)
OKLCHoklch(36.82% 0.154 274.1)
XYZxyz(6.8936, 4.4990, 26.0910)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2F8E #8E8A2B
analogous
#2B618E #2B2F8E #592B8E
triadic
#2B2F8E #8E2B2F #2F8E2B
tetradic
#2B2F8E #8E2B61 #8E8A2B #2B8E59
square
#2B2F8E #8E2B61 #8E8A2B #2B8E59
split-complementary
#2B2F8E #8E592B #618E2B
monochromatic
#0F1030 #1D1F5F #2B2F8E #393FBD #6368D0

Accessibility & contrast

On white

11.05
#2B2F8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2B2F8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2F8E
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2F8E#FFFFFF#000000##FFFFFF
##2B2F8E1.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004091
Deuteranopia (green-blind)
#00378C
Tritanopia (blue-blind)
#00485A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2b2f8e;
/* rgb */ color: rgb(43, 47, 142);
/* oklch */ color: oklch(36.8% 0.154 274.1);
Tailwind
colors: {
  custom: {
    50: '#7268b0',
    500: '#2b2f8e',
    950: '#000000',
  },
}
SCSS
$custom: #2b2f8e;
$custom-light: #7268b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2f8e",
  "rgb": {
    "r": 43,
    "g": 47,
    "b": 142
  },
  "hsl": {
    "h": 237.576,
    "s": 53.514,
    "l": 36.275
  },
  "oklch": {
    "l": 0.36822,
    "c": 0.15367,
    "h": 274.1
  },
  "luminance": 0.045
}

Semantic roles & 50–950 ramp

primary
#2B2F8E
secondary
#B6B35F
accent
#D74BDD
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2B2F8E

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

Preview Lab → · Contrast checker → · Palette generator →

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