#0F3272#0F3272

#0F3272 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.5% C 0.118 H 261.2°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#0F3272
RGBrgb(15, 50, 114)
HSLhsl(219, 77%, 25%)
HSVhsv(219, 87%, 45%)
CMYKcmyk(86.8%, 56.1%, 0%, 55.3%)
CIE-LABlab(22.29, 14.12, -40.35)
CIE-LCHlch(22.29, 42.75, 289.29°)
OKLaboklab(33.49% -0.0179 -0.1164)
OKLCHoklch(33.49% 0.118 261.2)
XYZxyz(4.3738, 3.5971, 16.3801)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3272 #724F0F
analogous
#0F6372 #0F3272 #1E0F72
triadic
#0F3272 #720F32 #32720F
tetradic
#0F3272 #720F63 #724F0F #0F721E
square
#0F3272 #720F63 #724F0F #0F721E
split-complementary
#0F3272 #721E0F #63720F
monochromatic
#040C1B #081A3C #0F3272 #164AA8 #1D61DE

Accessibility & contrast

On white

12.21
#0F3272 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#0F3272 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F3272
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3272#FFFFFF#000000##FFFFFF
##0F32721.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A74
Deuteranopia (green-blind)
#003171
Tritanopia (blue-blind)
#00424C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #0f3272;
/* rgb */ color: rgb(15, 50, 114);
/* oklch */ color: oklch(33.5% 0.118 261.2);
Tailwind
colors: {
  custom: {
    50: '#61699b',
    500: '#0f3272',
    950: '#000000',
  },
}
SCSS
$custom: #0f3272;
$custom-light: #61699b;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3272",
  "rgb": {
    "r": 15,
    "g": 50,
    "b": 114
  },
  "hsl": {
    "h": 218.788,
    "s": 76.744,
    "l": 25.294
  },
  "oklch": {
    "l": 0.33492,
    "c": 0.11779,
    "h": 261.2
  },
  "luminance": 0.03598
}

Semantic roles & 50–950 ramp

primary
#0F3272
secondary
#AA8033
accent
#B035F3
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #0F3272

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

Preview Lab → · Contrast checker → · Palette generator →

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