#0F2E70#0F2E70

#0F2E70 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.4% C 0.120 H 262.7°. Best body text is #FFFFFF at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#0F2E70
RGBrgb(15, 46, 112)
HSLhsl(221, 76%, 25%)
HSVhsv(221, 87%, 44%)
CMYKcmyk(86.6%, 58.9%, 0%, 56.1%)
CIE-LABlab(20.92, 16.17, -41.29)
CIE-LCHlch(20.92, 44.34, 291.39°)
OKLaboklab(32.4% -0.0153 -0.1193)
OKLCHoklch(32.4% 0.12 262.7)
XYZxyz(4.0976, 3.2249, 15.7326)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2E70 #70510F
analogous
#0F5E70 #0F2E70 #210F70
triadic
#0F2E70 #700F2E #2E700F
tetradic
#0F2E70 #700F5E #70510F #0F7021
square
#0F2E70 #700F5E #70510F #0F7021
split-complementary
#0F2E70 #70210F #5E700F
monochromatic
#040B1B #08183A #0F2E70 #1644A6 #1D5ADC

Accessibility & contrast

On white

12.77
#0F2E70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F2E70
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2E70#FFFFFF#000000##FFFFFF
##0F2E701.0012.771.6512.77
#FFFFFF12.771.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003772
Deuteranopia (green-blind)
#002E6F
Tritanopia (blue-blind)
#003F4A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #0f2e70;
/* rgb */ color: rgb(15, 46, 112);
/* oklch */ color: oklch(32.4% 0.120 262.7);
Tailwind
colors: {
  custom: {
    50: '#61669a',
    500: '#0f2e70',
    950: '#000000',
  },
}
SCSS
$custom: #0f2e70;
$custom-light: #61669a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2e70",
  "rgb": {
    "r": 15,
    "g": 46,
    "b": 112
  },
  "hsl": {
    "h": 220.825,
    "s": 76.378,
    "l": 24.902
  },
  "oklch": {
    "l": 0.32403,
    "c": 0.12023,
    "h": 262.7
  },
  "luminance": 0.03225
}

Semantic roles & 50–950 ramp

primary
#0F2E70
secondary
#A88333
accent
#B635F3
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #0F2E70

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

Preview Lab → · Contrast checker → · Palette generator →

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