#0F2E72#0F2E72

#0F2E72 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 32.6% C 0.123 H 262.9°. Best body text is #FFFFFF at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#0F2E72
RGBrgb(15, 46, 114)
HSLhsl(221, 77%, 25%)
HSVhsv(221, 87%, 45%)
CMYKcmyk(86.8%, 59.6%, 0%, 55.3%)
CIE-LABlab(21.09, 17.02, -42.30)
CIE-LCHlch(21.09, 45.59, 291.93°)
OKLaboklab(32.58% -0.0151 -0.1222)
OKLCHoklch(32.58% 0.123 262.9)
XYZxyz(4.2102, 3.2699, 16.3256)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2E72 #72530F
analogous
#0F5F72 #0F2E72 #210F72
triadic
#0F2E72 #720F2E #2E720F
tetradic
#0F2E72 #720F5F #72530F #0F7221
square
#0F2E72 #720F5F #72530F #0F7221
split-complementary
#0F2E72 #72210F #5F720F
monochromatic
#040B1B #08183C #0F2E72 #1644A8 #1D5ADE

Accessibility & contrast

On white

12.70
#0F2E72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#0F2E72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2E72
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2E72#FFFFFF#000000##FFFFFF
##0F2E721.0012.701.6512.70
#FFFFFF12.701.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003774
Deuteranopia (green-blind)
#002E71
Tritanopia (blue-blind)
#003F4B
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #0f2e72;
/* rgb */ color: rgb(15, 46, 114);
/* oklch */ color: oklch(32.6% 0.123 262.9);
Tailwind
colors: {
  custom: {
    50: '#61669b',
    500: '#0f2e72',
    950: '#000000',
  },
}
SCSS
$custom: #0f2e72;
$custom-light: #61669b;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2e72",
  "rgb": {
    "r": 15,
    "g": 46,
    "b": 114
  },
  "hsl": {
    "h": 221.212,
    "s": 76.744,
    "l": 25.294
  },
  "oklch": {
    "l": 0.32585,
    "c": 0.12315,
    "h": 262.9
  },
  "luminance": 0.0327
}

Semantic roles & 50–950 ramp

primary
#0F2E72
secondary
#AA8533
accent
#B835F3
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #0F2E72

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

Preview Lab → · Contrast checker → · Palette generator →

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