#0F264F#0F264F

#0F264F is a dark, moderate blue. Relative luminance 0.021; OKLCH L 27.6% C 0.081 H 260.9°. Best body text is #FFFFFF at 14.89:1 contrast (WCAG AA passes).

Color values

HEX#0F264F
RGBrgb(15, 38, 79)
HSLhsl(218, 68%, 18%)
HSVhsv(218, 81%, 31%)
CMYKcmyk(81%, 51.9%, 0%, 69%)
CIE-LABlab(15.76, 7.75, -27.85)
CIE-LCHlch(15.76, 28.91, 285.56°)
OKLaboklab(27.63% -0.0127 -0.0799)
OKLCHoklch(27.63% 0.081 260.9)
XYZxyz(2.3009, 2.0520, 7.6704)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F264F #4F380F
analogous
#0F464F #0F264F #180F4F
triadic
#0F264F #4F0F26 #264F0F
tetradic
#0F264F #4F0F46 #4F380F #0F4F18
square
#0F264F #4F0F46 #4F380F #0F4F18
split-complementary
#0F264F #4F180F #464F0F
monochromatic
#050C1A #050D1C #0F264F #193F82 #2357B6

Accessibility & contrast

On white

14.89
#0F264F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#0F264F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F264F
14.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F264F#FFFFFF#000000##FFFFFF
##0F264F1.0014.891.4114.89
#FFFFFF14.891.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102A51
Deuteranopia (green-blind)
#02254E
Tritanopia (blue-blind)
#003036
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #0f264f;
/* rgb */ color: rgb(15, 38, 79);
/* oklch */ color: oklch(27.6% 0.081 260.9);
Tailwind
colors: {
  custom: {
    50: '#585f81',
    500: '#0f264f',
    950: '#000000',
  },
}
SCSS
$custom: #0f264f;
$custom-light: #585f81;
$custom-dark: #000000;
JSON
{
  "hex": "#0f264f",
  "rgb": {
    "r": 15,
    "g": 38,
    "b": 79
  },
  "hsl": {
    "h": 218.438,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.27629,
    "c": 0.0809,
    "h": 260.9
  },
  "luminance": 0.02052
}

Semantic roles & 50–950 ramp

primary
#0F264F
secondary
#896931
accent
#AC3DEB
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #0F264F

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

Preview Lab → · Contrast checker → · Palette generator →

#0F264F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva