#2B3E9F#2B3E9F

#2B3E9F is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.2% C 0.158 H 269.6°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#2B3E9F
RGBrgb(43, 62, 159)
HSLhsl(230, 57%, 40%)
HSVhsv(230, 73%, 62%)
CMYKcmyk(73%, 61%, 0%, 37.6%)
CIE-LABlab(30.55, 27.05, -54.86)
CIE-LCHlch(30.55, 61.16, 296.25°)
OKLaboklab(41.18% -0.0012 -0.1583)
OKLCHoklch(41.18% 0.158 269.6)
XYZxyz(8.9747, 6.4611, 33.5683)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3E9F #9F8C2B
analogous
#2B789F #2B3E9F #522B9F
triadic
#2B3E9F #9F2B3E #3E9F2B
tetradic
#2B3E9F #9F2B78 #9F8C2B #2B9F52
square
#2B3E9F #9F2B78 #9F8C2B #2B9F52
split-complementary
#2B3E9F #9F522B #789F2B
monochromatic
#11183F #1E2B6F #2B3E9F #3D54CA #6D7ED7

Accessibility & contrast

On white

9.16
#2B3E9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#2B3E9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3E9F
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3E9F#FFFFFF#000000##FFFFFF
##2B3E9F1.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA2
Deuteranopia (green-blind)
#00439D
Tritanopia (blue-blind)
#005668
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2b3e9f;
/* rgb */ color: rgb(43, 62, 159);
/* oklch */ color: oklch(41.2% 0.158 269.6);
Tailwind
colors: {
  custom: {
    50: '#7573bc',
    500: '#2b3e9f',
    950: '#000000',
  },
}
SCSS
$custom: #2b3e9f;
$custom-light: #7573bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3e9f",
  "rgb": {
    "r": 43,
    "g": 62,
    "b": 159
  },
  "hsl": {
    "h": 230.172,
    "s": 57.426,
    "l": 39.608
  },
  "oklch": {
    "l": 0.41175,
    "c": 0.15832,
    "h": 269.6
  },
  "luminance": 0.06462
}

Semantic roles & 50–950 ramp

primary
#2B3E9F
secondary
#BEB067
accent
#C847E1
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2B3E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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