#262D4E#262D4E

#262D4E is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.8% C 0.060 H 273.3°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#262D4E
RGBrgb(38, 45, 78)
HSLhsl(230, 34%, 23%)
HSVhsv(230, 51%, 31%)
CMYKcmyk(51.3%, 42.3%, 0%, 69.4%)
CIE-LABlab(19.39, 7.44, -21.30)
CIE-LCHlch(19.39, 22.56, 289.25°)
OKLaboklab(30.78% 0.0035 -0.0601)
OKLCHoklch(30.78% 0.06 273.3)
XYZxyz(3.1124, 2.8387, 7.5902)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262D4E #4E4726
analogous
#26414E #262D4E #33264E
triadic
#262D4E #4E262D #2D4E26
tetradic
#262D4E #4E2641 #4E4726 #264E33
square
#262D4E #4E2641 #4E4726 #264E33
split-complementary
#262D4E #4E3326 #414E26
monochromatic
#0A0C15 #121525 #262D4E #3A4577 #4E5CA0

Accessibility & contrast

On white

13.39
#262D4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#262D4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262D4E
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262D4E#FFFFFF#000000##FFFFFF
##262D4E1.0013.391.5713.39
#FFFFFF13.391.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21314F
Deuteranopia (green-blind)
#1D2D4D
Tritanopia (blue-blind)
#173439
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #262d4e;
/* rgb */ color: rgb(38, 45, 78);
/* oklch */ color: oklch(30.8% 0.060 273.3);
Tailwind
colors: {
  custom: {
    50: '#636580',
    500: '#262d4e',
    950: '#000000',
  },
}
SCSS
$custom: #262d4e;
$custom-light: #636580;
$custom-dark: #000000;
JSON
{
  "hex": "#262d4e",
  "rgb": {
    "r": 38,
    "g": 45,
    "b": 78
  },
  "hsl": {
    "h": 229.5,
    "s": 34.483,
    "l": 22.745
  },
  "oklch": {
    "l": 0.30778,
    "c": 0.06019,
    "h": 273.3
  },
  "luminance": 0.02839
}

Semantic roles & 50–950 ramp

primary
#262D4E
secondary
#81784F
accent
#B75DCB
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#05050A
muted
#7A7A7C

Preview Lab

Preview with #262D4E

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

Preview Lab → · Contrast checker → · Palette generator →

#262D4E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva