#0F2E4C#0F2E4C

#0F2E4C is a dark, moderate cyan. Relative luminance 0.026; OKLCH L 29.5% C 0.066 H 250.5°. Best body text is #FFFFFF at 13.86:1 contrast (WCAG AA passes).

Color values

HEX#0F2E4C
RGBrgb(15, 46, 76)
HSLhsl(210, 67%, 18%)
HSVhsv(210, 80%, 30%)
CMYKcmyk(80.3%, 39.5%, 0%, 70.2%)
CIE-LABlab(18.26, 0.57, -21.81)
CIE-LCHlch(18.26, 21.82, 271.50°)
OKLaboklab(29.51% -0.022 -0.062)
OKLCHoklch(29.51% 0.066 250.5)
XYZxyz(2.4780, 2.5771, 7.2029)
Luminance0.0258 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2E4C #4C2D0F
analogous
#0F4C4B #0F2E4C #0F104C
triadic
#0F2E4C #4C0F2E #2E4C0F
tetradic
#0F2E4C #4B0F4C #4C2D0F #104C0F
square
#0F2E4C #4B0F4C #4C2D0F #104C0F
split-complementary
#0F2E4C #4C0F10 #4C4B0F
monochromatic
#050F1A #050F1A #0F2E4C #194D7F #236CB2

Accessibility & contrast

On white

13.86
#0F2E4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#0F2E4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2E4C
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2E4C#FFFFFF#000000##FFFFFF
##0F2E4C1.0013.861.5213.86
#FFFFFF13.861.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20304D
Deuteranopia (green-blind)
#172A4B
Tritanopia (blue-blind)
#003539
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #0f2e4c;
/* rgb */ color: rgb(15, 46, 76);
/* oklch */ color: oklch(29.5% 0.066 250.5);
Tailwind
colors: {
  custom: {
    50: '#57667e',
    500: '#0f2e4c',
    950: '#000000',
  },
}
SCSS
$custom: #0f2e4c;
$custom-light: #57667e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2e4c",
  "rgb": {
    "r": 15,
    "g": 46,
    "b": 76
  },
  "hsl": {
    "h": 209.508,
    "s": 67.033,
    "l": 17.843
  },
  "oklch": {
    "l": 0.29508,
    "c": 0.06581,
    "h": 250.5
  },
  "luminance": 0.02577
}

Semantic roles & 50–950 ramp

primary
#0F2E4C
secondary
#865B31
accent
#923EEA
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#03050A
muted
#787A7C

Preview Lab

Preview with #0F2E4C

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

Preview Lab → · Contrast checker → · Palette generator →

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