#0F2F70#0F2F70

#0F2F70 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.6% C 0.119 H 262.3°. Best body text is #FFFFFF at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#0F2F70
RGBrgb(15, 47, 112)
HSLhsl(220, 76%, 25%)
HSVhsv(220, 87%, 44%)
CMYKcmyk(86.6%, 58%, 0%, 56.1%)
CIE-LABlab(21.22, 15.44, -40.80)
CIE-LCHlch(21.22, 43.63, 290.73°)
OKLaboklab(32.63% -0.016 -0.1178)
OKLCHoklch(32.63% 0.119 262.3)
XYZxyz(4.1371, 3.3039, 15.7458)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2F70 #70500F
analogous
#0F6070 #0F2F70 #1F0F70
triadic
#0F2F70 #700F2F #2F700F
tetradic
#0F2F70 #700F60 #70500F #0F701F
square
#0F2F70 #700F60 #70500F #0F701F
split-complementary
#0F2F70 #701F0F #60700F
monochromatic
#040B1B #08183A #0F2F70 #1646A6 #1D5CDC

Accessibility & contrast

On white

12.64
#0F2F70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#0F2F70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2F70
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2F70#FFFFFF#000000##FFFFFF
##0F2F701.0012.641.6612.64
#FFFFFF12.641.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003872
Deuteranopia (green-blind)
#002F6F
Tritanopia (blue-blind)
#003F4A
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #0f2f70;
/* rgb */ color: rgb(15, 47, 112);
/* oklch */ color: oklch(32.6% 0.119 262.3);
Tailwind
colors: {
  custom: {
    50: '#61669a',
    500: '#0f2f70',
    950: '#000000',
  },
}
SCSS
$custom: #0f2f70;
$custom-light: #61669a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2f70",
  "rgb": {
    "r": 15,
    "g": 47,
    "b": 112
  },
  "hsl": {
    "h": 220.206,
    "s": 76.378,
    "l": 24.902
  },
  "oklch": {
    "l": 0.32629,
    "c": 0.11889,
    "h": 262.3
  },
  "luminance": 0.03304
}

Semantic roles & 50–950 ramp

primary
#0F2F70
secondary
#A88133
accent
#B435F3
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #0F2F70

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

Preview Lab → · Contrast checker → · Palette generator →

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