#0F2D70#0F2D70

#0F2D70 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.2% C 0.122 H 263.1°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#0F2D70
RGBrgb(15, 45, 112)
HSLhsl(221, 76%, 25%)
HSVhsv(221, 87%, 44%)
CMYKcmyk(86.6%, 59.8%, 0%, 56.1%)
CIE-LABlab(20.63, 16.90, -41.77)
CIE-LCHlch(20.63, 45.06, 292.02°)
OKLaboklab(32.18% -0.0146 -0.1207)
OKLCHoklch(32.18% 0.122 263.1)
XYZxyz(4.0590, 3.1477, 15.7197)
Luminance0.0315 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2D70 #70520F
analogous
#0F5E70 #0F2D70 #210F70
triadic
#0F2D70 #700F2D #2D700F
tetradic
#0F2D70 #700F5E #70520F #0F7021
square
#0F2D70 #700F5E #70520F #0F7021
split-complementary
#0F2D70 #70210F #5E700F
monochromatic
#040B1B #08173A #0F2D70 #1643A6 #1D58DC

Accessibility & contrast

On white

12.89
#0F2D70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#0F2D70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2D70
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2D70#FFFFFF#000000##FFFFFF
##0F2D701.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003672
Deuteranopia (green-blind)
#002D6F
Tritanopia (blue-blind)
#003E49
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #0f2d70;
/* rgb */ color: rgb(15, 45, 112);
/* oklch */ color: oklch(32.2% 0.122 263.1);
Tailwind
colors: {
  custom: {
    50: '#61659a',
    500: '#0f2d70',
    950: '#000000',
  },
}
SCSS
$custom: #0f2d70;
$custom-light: #61659a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2d70",
  "rgb": {
    "r": 15,
    "g": 45,
    "b": 112
  },
  "hsl": {
    "h": 221.443,
    "s": 76.378,
    "l": 24.902
  },
  "oklch": {
    "l": 0.32179,
    "c": 0.12158,
    "h": 263.1
  },
  "luminance": 0.03148
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #0F2D70

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

Preview Lab → · Contrast checker → · Palette generator →

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