#0F2E6E#0F2E6E

#0F2E6E is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.2% C 0.117 H 262.4°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#0F2E6E
RGBrgb(15, 46, 110)
HSLhsl(220, 76%, 25%)
HSVhsv(220, 86%, 43%)
CMYKcmyk(86.4%, 58.2%, 0%, 56.9%)
CIE-LABlab(20.75, 15.31, -40.27)
CIE-LCHlch(20.75, 43.09, 290.82°)
OKLaboklab(32.22% -0.0154 -0.1163)
OKLCHoklch(32.22% 0.117 262.4)
XYZxyz(3.9875, 3.1809, 15.1526)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2E6E #6E4F0F
analogous
#0F5E6E #0F2E6E #200F6E
triadic
#0F2E6E #6E0F2E #2E6E0F
tetradic
#0F2E6E #6E0F5E #6E4F0F #0F6E20
square
#0F2E6E #6E0F5E #6E4F0F #0F6E20
split-complementary
#0F2E6E #6E200F #5E6E0F
monochromatic
#040B1B #081738 #0F2E6E #1645A4 #1E5BDA

Accessibility & contrast

On white

12.83
#0F2E6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#0F2E6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2E6E
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2E6E#FFFFFF#000000##FFFFFF
##0F2E6E1.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f2e6e;
/* rgb */ color: rgb(15, 46, 110);
/* oklch */ color: oklch(32.2% 0.117 262.4);
Tailwind
colors: {
  custom: {
    50: '#606698',
    500: '#0f2e6e',
    950: '#000000',
  },
}
SCSS
$custom: #0f2e6e;
$custom-light: #606698;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2e6e",
  "rgb": {
    "r": 15,
    "g": 46,
    "b": 110
  },
  "hsl": {
    "h": 220.421,
    "s": 76,
    "l": 24.51
  },
  "oklch": {
    "l": 0.32222,
    "c": 0.1173,
    "h": 262.4
  },
  "luminance": 0.03181
}

Semantic roles & 50–950 ramp

primary
#0F2E6E
secondary
#A68033
accent
#B535F3
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #0F2E6E

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

Preview Lab → · Contrast checker → · Palette generator →

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