#2D365E#2D365E

#2D365E is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.5% C 0.071 H 272.6°. Best body text is #FFFFFF at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#2D365E
RGBrgb(45, 54, 94)
HSLhsl(229, 35%, 27%)
HSVhsv(229, 52%, 37%)
CMYKcmyk(52.1%, 42.6%, 0%, 63.1%)
CIE-LABlab(23.68, 8.76, -25.08)
CIE-LCHlch(23.68, 26.57, 289.26°)
OKLaboklab(34.53% 0.0032 -0.0709)
OKLCHoklch(34.53% 0.071 272.6)
XYZxyz(4.4211, 4.0041, 11.1274)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D365E #5E552D
analogous
#2D4F5E #2D365E #3D2D5E
triadic
#2D365E #5E2D36 #365E2D
tetradic
#2D365E #5E2D4F #5E552D #2D5E3D
square
#2D365E #5E2D4F #5E552D #2D5E3D
split-complementary
#2D365E #5E3D2D #4F5E2D
monochromatic
#0A0C15 #191E35 #2D365E #414E87 #5767AF

Accessibility & contrast

On white

11.66
#2D365E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#2D365E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D365E
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D365E#FFFFFF#000000##FFFFFF
##2D365E1.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273B60
Deuteranopia (green-blind)
#22365D
Tritanopia (blue-blind)
#1A3E45
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2d365e;
/* rgb */ color: rgb(45, 54, 94);
/* oklch */ color: oklch(34.5% 0.071 272.6);
Tailwind
colors: {
  custom: {
    50: '#696c8c',
    500: '#2d365e',
    950: '#000000',
  },
}
SCSS
$custom: #2d365e;
$custom-light: #696c8c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d365e",
  "rgb": {
    "r": 45,
    "g": 54,
    "b": 94
  },
  "hsl": {
    "h": 228.98,
    "s": 35.252,
    "l": 27.255
  },
  "oklch": {
    "l": 0.34532,
    "c": 0.07098,
    "h": 272.6
  },
  "luminance": 0.04004
}

Semantic roles & 50–950 ramp

primary
#2D365E
secondary
#908557
accent
#B75DCB
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06070C
muted
#7A7A7D

Preview Lab

Preview with #2D365E

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

Preview Lab → · Contrast checker → · Palette generator →

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