#0F2F4C#0F2F4C

#0F2F4C is a dark, moderate cyan. Relative luminance 0.027; OKLCH L 29.8% C 0.065 H 249.0°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#0F2F4C
RGBrgb(15, 47, 76)
HSLhsl(209, 67%, 18%)
HSVhsv(209, 80%, 30%)
CMYKcmyk(80.3%, 38.2%, 0%, 70.2%)
CIE-LABlab(18.61, -0.14, -21.26)
CIE-LCHlch(18.61, 21.26, 269.63°)
OKLaboklab(29.78% -0.0231 -0.0604)
OKLCHoklch(29.78% 0.065 249)
XYZxyz(2.5175, 2.6561, 7.2161)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2F4C #4C2C0F
analogous
#0F4C4A #0F2F4C #0F104C
triadic
#0F2F4C #4C0F2F #2F4C0F
tetradic
#0F2F4C #4A0F4C #4C2C0F #104C0F
square
#0F2F4C #4A0F4C #4C2C0F #104C0F
split-complementary
#0F2F4C #4C0F10 #4C4A0F
monochromatic
#05101A #05101A #0F2F4C #194F7F #236EB2

Accessibility & contrast

On white

13.71
#0F2F4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#0F2F4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2F4C
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2F4C#FFFFFF#000000##FFFFFF
##0F2F4C1.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22304D
Deuteranopia (green-blind)
#192B4B
Tritanopia (blue-blind)
#00363A
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #0f2f4c;
/* rgb */ color: rgb(15, 47, 76);
/* oklch */ color: oklch(29.8% 0.065 249.0);
Tailwind
colors: {
  custom: {
    50: '#57677e',
    500: '#0f2f4c',
    950: '#000000',
  },
}
SCSS
$custom: #0f2f4c;
$custom-light: #57677e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2f4c",
  "rgb": {
    "r": 15,
    "g": 47,
    "b": 76
  },
  "hsl": {
    "h": 208.525,
    "s": 67.033,
    "l": 17.843
  },
  "oklch": {
    "l": 0.29781,
    "c": 0.06468,
    "h": 249
  },
  "luminance": 0.02656
}

Semantic roles & 50–950 ramp

primary
#0F2F4C
secondary
#865931
accent
#903EEA
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#03060A
muted
#787A7C

Preview Lab

Preview with #0F2F4C

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

Preview Lab → · Contrast checker → · Palette generator →

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