#262F4C#262F4C

#262F4C is a dark, muted blue. Relative luminance 0.030; OKLCH L 31.1% C 0.054 H 270.0°. Best body text is #FFFFFF at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#262F4C
RGBrgb(38, 47, 76)
HSLhsl(226, 33%, 22%)
HSVhsv(226, 50%, 30%)
CMYKcmyk(50%, 38.2%, 0%, 70.2%)
CIE-LABlab(19.91, 5.31, -19.13)
CIE-LCHlch(19.91, 19.85, 285.51°)
OKLaboklab(31.14% 0 -0.0538)
OKLCHoklch(31.14% 0.054 270)
XYZxyz(3.1199, 2.9667, 7.2443)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262F4C #4C4326
analogous
#26424C #262F4C #30264C
triadic
#262F4C #4C262F #2F4C26
tetradic
#262F4C #4C2642 #4C4326 #264C30
square
#262F4C #4C2642 #4C4326 #264C30
split-complementary
#262F4C #4C3026 #424C26
monochromatic
#0A0D14 #121623 #262F4C #3A4875 #4F619E

Accessibility & contrast

On white

13.18
#262F4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#262F4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262F4C
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262F4C#FFFFFF#000000##FFFFFF
##262F4C1.0013.181.5913.18
#FFFFFF13.181.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24324D
Deuteranopia (green-blind)
#212F4B
Tritanopia (blue-blind)
#18353A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #262f4c;
/* rgb */ color: rgb(38, 47, 76);
/* oklch */ color: oklch(31.1% 0.054 270.0);
Tailwind
colors: {
  custom: {
    50: '#63677e',
    500: '#262f4c',
    950: '#000000',
  },
}
SCSS
$custom: #262f4c;
$custom-light: #63677e;
$custom-dark: #000000;
JSON
{
  "hex": "#262f4c",
  "rgb": {
    "r": 38,
    "g": 47,
    "b": 76
  },
  "hsl": {
    "h": 225.789,
    "s": 33.333,
    "l": 22.353
  },
  "oklch": {
    "l": 0.31144,
    "c": 0.05376,
    "h": 270
  },
  "luminance": 0.02967
}

Semantic roles & 50–950 ramp

primary
#262F4C
secondary
#7F744F
accent
#B05EC9
background
#F5F6F7
surface
#EAEBEE
border
#C6C6C9
text
#05060A
muted
#797A7C

Preview Lab

Preview with #262F4C

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

Preview Lab → · Contrast checker → · Palette generator →

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