#0F266A#0F266A

#0F266A is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.1% C 0.122 H 265.2°. Best body text is #FFFFFF at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#0F266A
RGBrgb(15, 38, 106)
HSLhsl(225, 75%, 24%)
HSVhsv(225, 86%, 42%)
CMYKcmyk(85.8%, 64.2%, 0%, 58.4%)
CIE-LABlab(18.04, 19.45, -42.10)
CIE-LCHlch(18.04, 46.37, 294.80°)
OKLaboklab(30.08% -0.0102 -0.1218)
OKLCHoklch(30.08% 0.122 265.2)
XYZxyz(3.4907, 2.5280, 13.9368)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F266A #6A530F
analogous
#0F536A #0F266A #250F6A
triadic
#0F266A #6A0F26 #266A0F
tetradic
#0F266A #6A0F53 #6A530F #0F6A25
square
#0F266A #6A0F53 #6A530F #0F6A25
split-complementary
#0F266A #6A250F #536A0F
monochromatic
#040A1B #071334 #0F266A #1739A0 #1E4CD5

Accessibility & contrast

On white

13.95
#0F266A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#0F266A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F266A
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F266A#FFFFFF#000000##FFFFFF
##0F266A1.0013.951.5113.95
#FFFFFF13.951.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306C
Deuteranopia (green-blind)
#002869
Tritanopia (blue-blind)
#003844
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #0f266a;
/* rgb */ color: rgb(15, 38, 106);
/* oklch */ color: oklch(30.1% 0.122 265.2);
Tailwind
colors: {
  custom: {
    50: '#605f95',
    500: '#0f266a',
    950: '#000000',
  },
}
SCSS
$custom: #0f266a;
$custom-light: #605f95;
$custom-dark: #000000;
JSON
{
  "hex": "#0f266a",
  "rgb": {
    "r": 15,
    "g": 38,
    "b": 106
  },
  "hsl": {
    "h": 224.835,
    "s": 75.207,
    "l": 23.725
  },
  "oklch": {
    "l": 0.30078,
    "c": 0.12221,
    "h": 265.2
  },
  "luminance": 0.02528
}

Semantic roles & 50–950 ramp

primary
#0F266A
secondary
#A28632
accent
#C236F2
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#05040D
muted
#79797E

Preview Lab

Preview with #0F266A

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

Preview Lab → · Contrast checker → · Palette generator →

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