#0F296A#0F296A

#0F296A is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.7% C 0.118 H 264.1°. Best body text is #FFFFFF at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#0F296A
RGBrgb(15, 41, 106)
HSLhsl(223, 75%, 24%)
HSVhsv(223, 86%, 42%)
CMYKcmyk(85.8%, 61.3%, 0%, 58.4%)
CIE-LABlab(18.92, 17.26, -40.67)
CIE-LCHlch(18.92, 44.18, 292.99°)
OKLaboklab(30.73% -0.0122 -0.1175)
OKLCHoklch(30.73% 0.118 264.1)
XYZxyz(3.5905, 2.7276, 13.9701)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F296A #6A500F
analogous
#0F566A #0F296A #220F6A
triadic
#0F296A #6A0F29 #296A0F
tetradic
#0F296A #6A0F56 #6A500F #0F6A22
square
#0F296A #6A0F56 #6A500F #0F6A22
split-complementary
#0F296A #6A220F #566A0F
monochromatic
#040A1B #071434 #0F296A #173EA0 #1E52D5

Accessibility & contrast

On white

13.59
#0F296A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#0F296A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F296A
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F296A#FFFFFF#000000##FFFFFF
##0F296A1.0013.591.5513.59
#FFFFFF13.591.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326C
Deuteranopia (green-blind)
#002A69
Tritanopia (blue-blind)
#003945
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #0f296a;
/* rgb */ color: rgb(15, 41, 106);
/* oklch */ color: oklch(30.7% 0.118 264.1);
Tailwind
colors: {
  custom: {
    50: '#5f6295',
    500: '#0f296a',
    950: '#000000',
  },
}
SCSS
$custom: #0f296a;
$custom-light: #5f6295;
$custom-dark: #000000;
JSON
{
  "hex": "#0f296a",
  "rgb": {
    "r": 15,
    "g": 41,
    "b": 106
  },
  "hsl": {
    "h": 222.857,
    "s": 75.207,
    "l": 23.725
  },
  "oklch": {
    "l": 0.30731,
    "c": 0.11817,
    "h": 264.1
  },
  "luminance": 0.02728
}

Semantic roles & 50–950 ramp

primary
#0F296A
secondary
#A28232
accent
#BC36F2
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#05050D
muted
#7A797E

Preview Lab

Preview with #0F296A

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

Preview Lab → · Contrast checker → · Palette generator →

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