#262B4E#262B4E

#262B4E is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.3% C 0.063 H 275.8°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#262B4E
RGBrgb(38, 43, 78)
HSLhsl(233, 34%, 23%)
HSVhsv(233, 51%, 31%)
CMYKcmyk(51.3%, 44.9%, 0%, 69.4%)
CIE-LABlab(18.76, 8.87, -22.30)
CIE-LCHlch(18.76, 24.00, 291.69°)
OKLaboklab(30.29% 0.0064 -0.063)
OKLCHoklch(30.29% 0.063 275.8)
XYZxyz(3.0379, 2.6897, 7.5653)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262B4E #4E4926
analogous
#263F4E #262B4E #35264E
triadic
#262B4E #4E262B #2B4E26
tetradic
#262B4E #4E263F #4E4926 #264E35
square
#262B4E #4E263F #4E4926 #264E35
split-complementary
#262B4E #4E3526 #3F4E26
monochromatic
#0A0B15 #121425 #262B4E #3A4277 #4E58A0

Accessibility & contrast

On white

13.65
#262B4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#262B4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262B4E
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262B4E#FFFFFF#000000##FFFFFF
##262B4E1.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2F4F
Deuteranopia (green-blind)
#1A2C4D
Tritanopia (blue-blind)
#183238
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #262b4e;
/* rgb */ color: rgb(38, 43, 78);
/* oklch */ color: oklch(30.3% 0.063 275.8);
Tailwind
colors: {
  custom: {
    50: '#636480',
    500: '#262b4e',
    950: '#000000',
  },
}
SCSS
$custom: #262b4e;
$custom-light: #636480;
$custom-dark: #000000;
JSON
{
  "hex": "#262b4e",
  "rgb": {
    "r": 38,
    "g": 43,
    "b": 78
  },
  "hsl": {
    "h": 232.5,
    "s": 34.483,
    "l": 22.745
  },
  "oklch": {
    "l": 0.30294,
    "c": 0.06334,
    "h": 275.8
  },
  "luminance": 0.0269
}

Semantic roles & 50–950 ramp

primary
#262B4E
secondary
#817B4F
accent
#BD5DCB
background
#F6F5F7
surface
#EBEAEE
border
#C6C6C9
text
#05050A
muted
#7A797C

Preview Lab

Preview with #262B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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