#0F265B#0F265B

#0F265B is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.7% C 0.100 H 263.6°. Best body text is #FFFFFF at 14.50:1 contrast (WCAG AA passes).

Color values

HEX#0F265B
RGBrgb(15, 38, 91)
HSLhsl(222, 72%, 21%)
HSVhsv(222, 84%, 36%)
CMYKcmyk(83.5%, 58.2%, 0%, 64.3%)
CIE-LABlab(16.71, 13.01, -34.38)
CIE-LCHlch(16.71, 36.76, 290.73°)
OKLaboklab(28.66% -0.0111 -0.0991)
OKLCHoklch(28.66% 0.1 263.6)
XYZxyz(2.7778, 2.2428, 10.1820)
Luminance0.0224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F265B #5B440F
analogous
#0F4C5B #0F265B #1E0F5B
triadic
#0F265B #5B0F26 #265B0F
tetradic
#0F265B #5B0F4C #5B440F #0F5B1E
square
#0F265B #5B0F4C #5B440F #0F5B1E
split-complementary
#0F265B #5B1E0F #4C5B0F
monochromatic
#040B1A #061026 #0F265B #183C90 #2052C4

Accessibility & contrast

On white

14.50
#0F265B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#0F265B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F265B
14.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F265B#FFFFFF#000000##FFFFFF
##0F265B1.0014.501.4514.50
#FFFFFF14.501.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D5D
Deuteranopia (green-blind)
#00265A
Tritanopia (blue-blind)
#00333C
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #0f265b;
/* rgb */ color: rgb(15, 38, 91);
/* oklch */ color: oklch(28.7% 0.100 263.6);
Tailwind
colors: {
  custom: {
    50: '#5b5f8a',
    500: '#0f265b',
    950: '#000000',
  },
}
SCSS
$custom: #0f265b;
$custom-light: #5b5f8a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f265b",
  "rgb": {
    "r": 15,
    "g": 38,
    "b": 91
  },
  "hsl": {
    "h": 221.842,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.28661,
    "c": 0.09973,
    "h": 263.6
  },
  "luminance": 0.02243
}

Semantic roles & 50–950 ramp

primary
#0F265B
secondary
#957631
accent
#B839EE
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#04040C
muted
#79797D

Preview Lab

Preview with #0F265B

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

Preview Lab → · Contrast checker → · Palette generator →

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